peter-toth commented on code in PR #38052:
URL: https://github.com/apache/spark/pull/38052#discussion_r985078417
##########
sql/core/src/test/scala/org/apache/spark/sql/SubquerySuite.scala:
##########
@@ -2157,7 +2157,7 @@ class SubquerySuite extends QueryTest
}
}
- test("Merge non-correlated scalar subqueries from different parent plans") {
Review Comment:
Unfortunately, this is also a valid test and so it shouldn't be altered.
I don't want to block this fix so if we need it urgently I'm ok with mergint
this PR but probably we can come up with a better alternative.
I think the issue is that we try merging a new plan that contains a
`ScalarSubqueryReference` that references a cached plan with the same cached
plan.
--
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]