jchen5 commented on code in PR #39375:
URL: https://github.com/apache/spark/pull/39375#discussion_r1085530300
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala:
##########
@@ -1056,6 +1056,11 @@ trait CheckAnalysis extends PredicateHelper with
LookupCatalog with QueryErrorsB
sub: LogicalPlan,
isScalar: Boolean = false,
isLateral: Boolean = false): Unit = {
+ // Some query shapes are only supported with the DecorrelateInnerQuery
framework.
+ // Currently we only use this new framework for scalar and lateral
subqueries.
+ val usingDecorrelateInnerQueryFramework =
+ (isScalar || isLateral) && SQLConf.get.decorrelateInnerQueryEnabled
Review Comment:
Agreed
--
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]