cloud-fan commented on issue #26441: [SPARK-29682][SQL] Resolve conflicting 
references in aggregate expressions 
URL: https://github.com/apache/spark/pull/26441#issuecomment-552298083
 
 
   It's better to explain why the bug happens in the PR description. I don't 
understand the current fix, just FYI why we only handle alias in `Project`: The 
self-join dedup logical tries to find the root which causes conflicts. 
Sometimes it's alias in `Project`, sometimes it's leaf node. For attributes in 
`Project`, there must be other nodes under `Project` that cause the conflicts.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to