alamb commented on code in PR #6707:
URL: https://github.com/apache/arrow-datafusion/pull/6707#discussion_r1234103671


##########
datafusion/optimizer/src/merge_projection.rs:
##########
@@ -55,11 +55,7 @@ impl OptimizerRule for MergeProjection {
                                     let parent_expr = 
parent_projection.schema.fields()
                                         [i]
                                         .qualified_name();
-                                    if e.display_name()? == parent_expr {

Review Comment:
   I think it is a good change to capture this common pattern into a function



-- 
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]

Reply via email to