pub fn compute_join_projection(
select_exprs: &[Expression],
outer_columns: &[String],
inner_columns: &[String],
) -> Option<JoinProjectionIndices>Expand description
Compute projection indices for a join operator.
Analyzes SELECT expressions and determines which columns from the outer and inner sides are needed. Returns columns in SELECT order (not outer-first/inner-second).
§Arguments
select_exprs- The SELECT expressions to analyzeouter_columns- Column names from the outer (left) side of the joininner_columns- Column names from the inner (right) side of the join
§Returns
Some(JoinProjectionIndices) if all expressions are simple column references, None otherwise.