is_projection_removable

Function is_projection_removable 

Source
fn is_projection_removable(projection: &ProjectionExec) -> bool
Expand description

Compare the inputs and outputs of the projection. All expressions must be columns without alias, and projection does not change the order of fields. For example, if the input schema is a, b, SELECT a, b is removable, but SELECT b, a and SELECT a+1, b and SELECT a AS c, b are not.