gabotechs commented on code in PR #24670: URL: https://github.com/apache/datafusion/pull/24670#discussion_r3854382508
########## datafusion/physical-plan/src/projection.rs: ########## @@ -1030,7 +1030,8 @@ pub fn remove_unnecessary_projections( } /// Compare the inputs and outputs of the projection. All expressions must be -/// columns without alias, and projection does not change the order of fields. +/// columns without alias, the projection must not change the order of fields, +/// and its output schema must match its input schema, including metadata. Review Comment: Makes sense -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
