fn sample_to_flat(
batch: RecordBatch,
candidate: &Candidate,
context: &StreamContext,
sample_schema: Option<&SchemaRef>,
) -> Result<RecordBatch>fn sample_to_flat(
batch: RecordBatch,
candidate: &Candidate,
context: &StreamContext,
sample_schema: Option<&SchemaRef>,
) -> Result<RecordBatch>