I have downloaded the weather .txt files from NOAA, which looks like:
WBAN,Date,Time,StationType,SkyCondition,SkyConditionFlag,Visibility,VisibilityFlag,WeatherTy
To add to Dennis' comment above, you can skip the first line from being inserted into your table if you're using a CSV SerDe like so:
CREATE EXTERNAL TABLE cases (
id INT,
case_number STRING,
name STRING,
)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
STORED AS TEXTFILE
LOCATION '/hdfs/path'
tblproperties("skip.header.line.count"="1");
The operative line being:
tblproperties("skip.header.line.count"="1")