pub fn batch_into_stream(batch: RecordBatch) -> SendableRecordBatchStreamExpand description
Wrap a single RecordBatch in a one-item
SendableRecordBatchStream.
Used by procedure adapters whose plugin produced exactly one batch
(and by tests that need a stream-shaped fixture for a one-row
constant input). The yielded schema is Arc-cloned from the
supplied batch.