LuciferYang opened a new issue, #10275: URL: https://github.com/apache/paimon/issues/10275
### Search before asking - [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found no similar issues. ### Paimon version master (1.5-SNAPSHOT) ### Compute Engine Any engine that spills to disk (external sort/merge, or `ExternalBuffer` under memory pressure). ### Minimal reproduce step 1. Set the table option `spill-compression = none`. 2. Trigger a disk spill (a large external sort or merge, or `ExternalBuffer` spilling under memory pressure). ### What doesn't meet your expectations? The spill fails with a `NullPointerException`. `spill-compression` is a free-form string option (default `zstd`, no value validation), and `none` is an intended "no compression" value: `BlockCompressionFactory.create` deliberately returns `null` for it. But `ChannelWriterOutputView` dereferences that factory in its constructor (`getCompressor()`), and `ChannelReaderInputView` does the same on read-back (`getDecompressor()`), so selecting `none` crashes instead of writing uncompressed blocks. ### Anything else? The `SPILL_COMPRESSION` option description does not mention `none` among the supported values, which likely hid this from testing. ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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]
