Hive Tutorial 27 : Hive to skip first row of input file as a header

While loading data into hive , if we want first row of input file to get skipped then we have to set below configuration skip.header.line.count



create external table testtable (name string, message string)
row format delimited 
fields terminated by '\t' 
lines terminated by '\n' 
location '/testtable'
tblproperties ("skip.header.line.count"="1")

Comments

Popular posts from this blog

Hive Tutorial 31 : Analytic Functions

Hive Tutorial 37 : Performance Tuning