SEZ9 commented on issue #9948: URL: https://github.com/apache/seatunnel/issues/9948#issuecomment-5149901230
Thanks for the detailed report. In 2.3.8, `csv_use_header_line` is used to match CSV columns to the configured schema by header name (instead of by position); it does not enable schema inference, so the `schema` option is still required by validation for CSV. If the documentation gave a different impression, please point to the section so we can clarify it. Could you try the latest release (2.3.x current)? There have been improvements to CSV reading in the file connectors since 2.3.8, and confirming the behavior on the latest version will help us decide whether this is a fixed bug or a feature request for header-based schema inference. If the intent is to have the schema automatically derived from the CSV header line, that would be a new feature rather than a bug. We can relabel this as a feature request for CSV schema inference in the file source connectors — please confirm if that matches your expectation. <!-- streview-comment:23 --> -- 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]
