fn read_record_batch_impl(
buf: &Buffer,
batch: RecordBatch<'_>,
schema: SchemaRef,
dictionaries_by_id: &HashMap<i64, ArrayRef>,
projection: Option<&[usize]>,
metadata: &MetadataVersion,
require_alignment: bool,
) -> Result<RecordBatch, ArrowError>