viirya commented on issue #24960: [SPARK-28156][SQL] Self-join should not miss 
cached view
URL: https://github.com/apache/spark/pull/24960#issuecomment-506655263
 
 
   A project node just aliasing child's output in same output order, looks like 
can be a candidate to be removed in canonicalized query plan. But we should be 
careful about `QueryPlan.sameResult`. Not sure if any corner cases I'm not 
aware of.
   
   If removing a project node like that is safe when canonicalization, #24236 
and this issue should be fine.

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