lucas.wu created FLINK-28058:
--------------------------------

             Summary: 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


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)

Reply via email to