EmilyMatt opened a new issue, #9463: URL: https://github.com/apache/arrow-rs/issues/9463
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] (This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*) --> When attempting to run Miri on a program using arrow-ipc, there are always error on foreign calls, even when not using ZSTD, due to the CompressionContext being created all the time, even when compression is None. I don't think we should be making unnecessary FFI calls unless we intend to use the encoder/decoder. This is relevant both for the arrow-ipc crate, and the arrow-flight crate, but both are from the same underlying issue. **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen. --> CompressionContext should be an Option, or the zstd encoder/decoder within it should be an Option. This Option should only be Some when compression is specified. **Describe alternatives you've considered** <!-- A clear and concise description of any alternative solutions or features you've considered. --> Tried disabling the feature, but it leads to a cascade of compilation failures so big it's not really worth trying to untangle right now. **Additional context** <!-- Add any other context or screenshots about the feature request here. --> -- 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]
