jackylee-ch opened a new pull request, #975: URL: https://github.com/apache/paimon-rust/pull/975
`decode_text_chunk` failed the whole scan with `DataInvalid` whenever a CSV row's field count did not match the schema. Java `CsvParser` reads under the default `csv.mode=permissive`: it pads missing trailing columns with null and drops extra fields, so it never fails on field count. Our behavior rejected files Java reads fine — reading a table after ADD COLUMN (old files carry one fewer column), or any externally produced CSV that omits an optional trailing column or carries an extra one. Pad short rows with null and truncate long ones to match, and cover it with a ragged-row read test. -- 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]
