jackylee-ch opened a new pull request, #663: URL: https://github.com/apache/paimon-rust/pull/663
Java routes every file-format option through `CoreOptions.normalizeFileFormat`, which lowercases the value. Rust returned it verbatim, and `DataFileWriter` interpolates it straight into the file name — so `'file.format' = 'PARQUET'` wrote `data-<uuid>-0.PARQUET` where Java writes `.parquet`. Reads still worked (the format dispatch lowercases the path), so the effect was inconsistent file naming rather than a hard failure. **Fix**: trim and lowercase in `file_format`, `changelog_file_format` and `vector_file_format`, and treat a blank value as unset so it falls back to the default instead of yielding an empty extension. Two consumers that re-did `.trim().to_ascii_lowercase()` themselves now rely on the accessor. -- 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]
