SEZ9 commented on issue #13423: URL: https://github.com/apache/seatunnel/issues/13423#issuecomment-7249425229
Thanks for the detailed report with a minimal data file, config, and root-cause analysis. As already noted in this thread, the mismatch was rechecked on current `dev` and is real: the split strategy skips the header line, while `CsvReadStrategy` only obtains the actual header for a split starting at offset zero and otherwise falls back to the schema column order. With `enable_file_split = true`, `csv_use_header_line` therefore does not take effect, and when the column types match the job succeeds with wrong data. The fix is being handled in #13424 from @Ivan-gfan, which changes that reader path and adds a split-header unit regression and a LocalFile E2E covering header order different from schema order. No further information is needed on this issue. To avoid duplicate work, please do not open a parallel fix. Reviews and reproduction results are very welcome on #13424, where the remaining review and CI work belongs. <!-- streview-comment:2704 --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
