pub fn read_column_ids_from_projection(
metadata: &RegionMetadataRef,
projection: Option<&[ColumnId]>,
) -> Vec<ColumnId> ⓘExpand description
Computes the column IDs to read based on the projection.
If projection is Some, returns those column IDs. If None, returns all column IDs
from the metadata.