wForget commented on code in PR #43867:
URL: https://github.com/apache/spark/pull/43867#discussion_r1399210714


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:
##########
@@ -2505,12 +2505,14 @@ class Analyzer(override val catalogManager: 
CatalogManager) extends RuleExecutor
         outer: LogicalPlan)(
         f: (LogicalPlan, Seq[Expression]) => SubqueryExpression): 
SubqueryExpression = {
       val newSubqueryPlan = AnalysisContext.withOuterPlan(outer) {
-        executeSameContext(e.plan)
+        val analyzed = executeSameContext(e.plan)
+        checkAnalysis(analyzed)

Review Comment:
   Thanks for your suggestions, I will try the first, for the second I still 
need to spend some time understanding it.



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

Reply via email to