hadoop fs -cat /user/demo/states3/states3.txt
STATE_NAME
----------
california
ohio
north dakota
new york
colorado
new jersey


CREATE EXTERNAL TABLE states3 (states string) LOCATION '/user/demo/states3' TBLPROPERTIES("skip.header.line.count"="2");


'NoSQL > Hive' 카테고리의 다른 글

hive orc file format  (0) 2017.02.18
hive table merge  (1) 2017.02.18
hive avro table 자동적재 using sqoop  (0) 2016.11.11
Hive authentification  (0) 2016.10.16
Hive authorization  (0) 2016.10.16

+ Recent posts