Hive External table-CSV File- Header row

后端 未结 6 601
甜味超标
甜味超标 2020-12-24 08:06

Below is the hive table i have created:

CREATE EXTERNAL TABLE Activity (
  column1 type, 
column2 type ) ROW FORMAT DELIMITED FIELDS TERMINATED
6条回答
  •  鱼传尺愫
    2020-12-24 08:52

    If you are using Hive version 0.13.0 or higher you can specify "skip.header.line.count"="1" in your table properties to remove the header.

    For detailed information on the patch see: https://issues.apache.org/jira/browse/HIVE-5795

提交回复
热议问题