cloud-fan commented on PR #37074:
URL: https://github.com/apache/spark/pull/37074#issuecomment-1178528200

   OK I understand the issue now. Sometimes a `Project` is useful to avoid name 
conflicts. However, it should only be a problem in the analysis phase. We may 
have other rules that remove `Project` if it doesn't change the query schema. I 
think it's better to fix `RewritePredicateSubquery`, which kinds of re-resolves 
the column.


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