pub async fn encode_batch(
batch: &RecordBatch,
schema: Arc<Schema>,
encoding_strategy: &dyn FieldEncodingStrategy,
options: &EncodingOptions,
) -> Result<EncodedBatch>
Expand description
Helper method to encode a batch of data into memory
This is primarily for testing and benchmarking but could be useful in other niche situations like IPC.