aokolnychyi commented on code in PR #52712:
URL: https://github.com/apache/spark/pull/52712#discussion_r2458651131
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala:
##########
@@ -224,7 +225,7 @@ class CacheManager extends Logging with
AdaptiveSparkPlanHelper {
nameInCache.length == name.length &&
nameInCache.zip(name).forall(conf.resolver.tupled)
}
- plan match {
+ EliminateSubqueryAliases(plan) match {
Review Comment:
An alternative solution could be to call EliminateSubqueryAliases BEFORE
putting the plan into the cache. This, however, will remove ALL subquery
aliases... I was not sure about consequences, but I would be open to consider
this option if everyone thinks it is safe.
Thoughts, @viirya @dongjoon-hyun @szehon-ho @cloud-fan?
--
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]