pub(crate) async fn next_aligned_file_batch(
range: &FileRange,
reader: &mut FlatPruneReader,
sequence_range: Option<SequenceRange>,
file_sequence_trusted: bool,
) -> Result<Option<RecordBatch>>Expand description
Read one schema-aligned batch from a file range, before merge or deduplication. Both ordinary scans and lossless compaction use this boundary.