[
https://issues.apache.org/jira/browse/FLINK-28058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554954#comment-17554954
]
Martijn Visser commented on FLINK-28058:
----------------------------------------
[~lucas_wu] I've assigned it to you
> add option SKIP_FIRST_DATA_ROW
> ------------------------------
>
> Key: FLINK-28058
> URL: https://issues.apache.org/jira/browse/FLINK-28058
> Project: Flink
> Issue Type: New Feature
> Components: Connectors / FileSystem, Formats (JSON, Avro, Parquet,
> ORC, SequenceFile)
> Reporter: lucas.wu
> Assignee: lucas.wu
> Priority: Major
>
> now CsvFileSystemFormatFactory.CsvInputFormat do not support add option
> SKIP_FIRST_DATA_ROW , when my csv file has header, source table will read
> file's header ,then collect to downstream. but i do not need the header, i
> hope i can set the option when i create table.likeĀ
> "CREATE TABLE file_source (" +
> "a STRING," +
> "b STRING," +
> "c STRING" +
> ") " +
> "WITH (\n" +
> " 'connector' = 'filesystem',\n" +
> " 'path' = 'file:///xxx/xxx/test_sink.csv',\n" +
> " 'format' = 'csv' ,\n" +
> " 'csv.ignore-first-line' = 'true' " +
> "" +
> ")"
--
This message was sent by Atlassian Jira
(v8.20.7#820007)