itholic commented on code in PR #38576:
URL: https://github.com/apache/spark/pull/38576#discussion_r1036705541


##########
sql/core/src/test/scala/org/apache/spark/sql/SubquerySuite.scala:
##########
@@ -964,14 +964,16 @@ class SubquerySuite extends QueryTest
             |               WHERE t1.c1 = t2.c1)
           """.stripMargin)
       }
-      checkError(
+      checkErrorMatchPVals(
         exception1,
         errorClass = 
"UNSUPPORTED_SUBQUERY_EXPRESSION_CATEGORY.CORRELATED_REFERENCE",
-        parameters = Map("sqlExprs" -> "outer(arr_c2#427264)"),
+        sqlState = None,
+        parameters = Map("sqlExprs" -> "explode\\(outer\\(arr_c2#.*"),

Review Comment:
   I squeeze out the outer expression here, but seems like this shows 
`explode(arr_c2)` with current behavior of `stripOuterReference`.
   
   @MaxGekk Do you happen to know is there any way, or should we fix the 
`stripOuterReference` to display the `t2.arr_c2` here?



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