pub fn convert_projection(
items: &[SelectItem],
scope: &TableScope,
) -> Result<Vec<Projection>>Expand description
Convert SELECT projection items.
An item over a relation that calls a sequence accessor becomes
Projection::CpComputed: the Control Plane evaluates it once per
output row. Every other item resolves against scope unchanged, so an
accessor nested where it must not be (an aggregate argument, a subquery)
still refuses through that clause’s own scope.