jackylee-ch opened a new pull request, #9671: URL: https://github.com/apache/paimon/pull/9671
### Purpose Both `CompressionKind.valueOf` here and the copied `OrcFile.WriterOptions` upper cased the compression name with no locale. Under a Turkish or Azeri default locale the 'i' of `zlib` uppercases to a dotted capital, so the first write threw `No enum constant org.apache.orc.CompressionKind.ZLİB`. `zlib` is the only affected value of the six, and `FormatTableTestBase` uses it. `file.compression` is now upper cased with `Locale.ROOT`, and `orc.compress` normalized in the constructor. Reading was never involved: the kind comes from the postscript. ### Tests `OrcWriterFactoryTest`, one test per option, asserting the resolved kind. Written with Claude Code; reasoning and verification are mine. -- 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]
