mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 22:32:55 +00:00
* feat/disable-flight-compression: ### Commit Summary - **Add Compression Control in Flight Encoder**: Introduced a new method `with_compression_disabled` in `FlightEncoder` to allow encoding without compression in `flight.rs`. - **Update Flight Stream Initialization**: Modified `FlightRecordBatchStream` to use the new `FlightEncoder::with_compression_disabled` method for initializing the encoder in `stream.rs`. * feat/disable-flight-compression: Remove Unused Import in `flight.rs` - Removed the unused import `write_message` from `flight.rs` to clean up the codebase. * feat/disable-flight-compression: ### Disable Compression in Flight Encoder - Updated `tests-integration/src/grpc/flight.rs` to use `FlightEncoder::with_compression_disabled()` instead of `FlightEncoder::default()` for encoding `FlightMessage::Schema` and `FlightMessage::RecordBatch`. This change disables compression in the Flight encoder for these operations. Signed-off-by: Lei, HUANG <lhuang@greptime.com> * Signed-off-by: Lei, HUANG <lhuang@greptime.com> * disable flight client compression Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Lei, HUANG <lhuang@greptime.com> Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: Ruihang Xia <waynestxia@gmail.com>