Open
Description
Hi team, and thanks for a great product!
I’m using FilePulseSourceConnector with CSVFilter type. My source files don’t have any headers.
When I have the following configuration, everything is working fine
"filters.ParseCSVLine.type" : "io.streamthoughts.kafka.connect.filepulse.filter.CSVFilter",
"filters.ParseCSVLine.seperator" : ",",
"filters.ParseCSVLine.ignore.leading.whitespace": "true",
"filters.ParseCSVLine.auto.generate.column.names": "true",
When I try to specify column name:type, I get unexpected results. It looks like the column list is sorted alphabetically and the column names don't match
"filters.ParseCSVLine.type" : "io.streamthoughts.kafka.connect.filepulse.filter.CSVFilter",
"filters.ParseCSVLine.seperator" : ",",
"filters.ParseCSVLine.ignore.leading.whitespace": "true",
"filters.ParseCSVLine.auto.generate.column.names": "false",
"filters.ParseCSVLine.columns" : "DataID1:string;TextField1:string; DataID2:string;TextField2:string;Date1:string;Date2:string;diffDate:string",
Can you please check it out?
Thank you