Function arrow_flight::utils::flight_data_from_arrow_batch
source · pub fn flight_data_from_arrow_batch(
batch: &RecordBatch,
options: &IpcWriteOptions,
) -> (Vec<FlightData>, FlightData)
👎Deprecated since 30.0.0: Use IpcDataGenerator directly with DictionaryTracker to avoid re-sending dictionaries
Expand description
Convert a RecordBatch
to a vector of FlightData
representing the bytes of the dictionaries
and a FlightData
representing the bytes of the batch’s values