hawk9821 opened a new issue, #10374: URL: https://github.com/apache/seatunnel/issues/10374
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened When using CSV Reader to parse UTF-8 with BOM encoded CSV files and configuring csc_use_ceader.line=true, an exception occurs where all data in the first column is null. ### SeaTunnel Version 2.3.12 ### SeaTunnel Config ```conf env { parallelism = 1 job.mode = BATCH } source { LocalFile { path = /tmp/AFP_CARD.csv file_format_type = csv csv_use_header_line = true encoding = UTF-8 schema { fields { AFPCARDID = string PATIENTRESIDENCETYPECODE = string PALSYDATE = date TREATMENTLANDDATE = date TREATMENTLANDTYPECODE = string TREATMENTLANDZONECODE = string TREATMENTLANDLIVADDRDETAILS = string PALSYSYMPTOM = string PATIENTREGISTRATIONNUMBER = string } } plugin_output = source_data } } sink { Console { plugin_input = mapped_data } } ``` ### Running Command ```shell seatunnel.sh --config csv.conf ``` ### Error Exception ```log No error reported, single data parsing did not meet expectations ``` ### Zeta or Flink or Spark Version 2.3.12 ### Java or Scala Version 1.8 ### Screenshots <img width="1341" height="781" alt="Image" src="https://github.com/user-attachments/assets/5a448f7c-7666-4b07-85c3-62083f09aae6" /> <img width="715" height="212" alt="Image" src="https://github.com/user-attachments/assets/5b86a966-5bfa-49ce-a4ce-40f270617b94" /> <img width="715" height="212" alt="Image" src="https://github.com/user-attachments/assets/dd39f694-98ae-4d78-8861-e70d8e1e1cb5" /> ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
