pgwhalen opened a new issue, #1468: URL: https://github.com/apache/arrow-java/issues/1468
### Describe the enhancement requested ## Describe the enhancement requested Arrow Java Flight can read compressed IPC streams , but there is no way to write them. `OutboundStreamListenerImpl` always creates its `VectorUnloader` without a codec. So a `FlightProducer` (DoGet, DoExchange) or a client (DoPut, DoExchange) can only send uncompressed record batches and dictionary batches. The proposal is to: 1. Add compression settings to `IpcOption`, set by `IpcOption.withCompression(CodecType) and IpcOption.withCompression(CodecType, int level)`. 2. Have Flight's outbound listeners compress record batches and dictionary batches with that codec. Usage would then be: ``` listener.start(root, dictionaries, IpcOption.DEFAULT.withCompression(CompressionUtil.CodecType.ZSTD)); ``` This is a subset of what's required for #1316 , without negotiation. -- 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]
