allisonwang-db commented on code in PR #37840:
URL: https://github.com/apache/spark/pull/37840#discussion_r969877155


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -695,6 +707,73 @@
       }
     }
   },
+  "UNSUPPORTED_SUBQUERY_EXPRESSION_CATEGORY" : {
+    "message" : [
+      "Invalid subquery expression:"

Review Comment:
   ```suggestion
         "Unsupported subquery expression: "
   ```



##########
sql/core/src/test/resources/sql-tests/results/join-lateral.sql.out:
##########
@@ -317,11 +317,18 @@ SELECT * FROM t1, LATERAL (SELECT c1 + c2 + rand(0) AS c3)
 struct<>
 -- !query output
 org.apache.spark.sql.AnalysisException
-Non-deterministic lateral subqueries are not supported when joining with outer 
relations that produce more than one row

Review Comment:
   Should we set `spark.sql.error.includePlans` to `true` when generating this 
golden file?



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