Aws Athena - Create external table skipping first row

前端 未结 5 915
无人共我
无人共我 2020-12-10 01:37

I\'m trying to create an external table on csv files with Aws Athena with the code below but the line TBLPROPERTIES (\"skip.header.line.count\"=\"1\") doesn\'t

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-10 01:37

    When this question was asked there was no support for skipping headers, and when it was later introduced it was only for the OpenCSVSerDe, not for LazySimpleSerDe, which is what you get when you specify ROW FORMAT DELIMITED FIELDS …. I think this is what has caused some confusion about whether or not it works in the answers to this question.

提交回复
热议问题