arrow_flight::encode

Constant GRPC_TARGET_MAX_FLIGHT_SIZE_BYTES

Source
pub const GRPC_TARGET_MAX_FLIGHT_SIZE_BYTES: usize = 2097152;
Expand description

Default target size for encoded FlightData.

Note this value would normally be 4MB, but the size calculation is somewhat inexact, so we set it to 2MB.