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
Post a Comment