peter-toth commented on code in PR #37334:
URL: https://github.com/apache/spark/pull/37334#discussion_r934285266
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala:
##########
@@ -568,9 +581,6 @@ object RemoveRedundantAliases extends Rule[LogicalPlan] {
newChild
}
- // Create the attribute mapping. Note that the currentNextAttrPairs
can contain duplicate
- // keys in case of Union (this is caused by the
PushProjectionThroughUnion rule); in this
- // case we use the first mapping (which should be provided by the
first child).
Review Comment:
added in
https://github.com/apache/spark/pull/37334/commits/11020eee40af3e1d513b393e33509b13bf6e432c
--
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]