viirya commented on issue #24960: [SPARK-28156][SQL] Self-join should not miss cached view URL: https://github.com/apache/spark/pull/24960#issuecomment-508326123 Thanks @cloud-fan I also visited #24236 as you mentioned. I think it is fine from missing caches. Because when you cache an union with duplicate children, you actually cache the deduplicated plan processed by #24236. In later you have this query fragment in other queries, the deduplicated union will match cached version.
---------------------------------------------------------------- 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]
