EnricoMi commented on PR #38676:
URL: https://github.com/apache/spark/pull/38676#issuecomment-1358011350

   @shardulm94 you are right, `canPushThroughCondition` already guards 
`Project` and `Union` against this situation, so that should be the natural way 
to fix this for `Aggregate` as well. It is the least possible change to fix 
this issue.
   
   I have created #39131, to keep it separate from this approach, which tries 
to fix this issue through `DeduplicateRelations`. Will close this PR if the 
other one makes it.
   
   Thanks for the pointer!


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

Reply via email to