MaxGekk commented on code in PR #36307:
URL: https://github.com/apache/spark/pull/36307#discussion_r857662503


##########
sql/core/src/test/scala/org/apache/spark/sql/errors/QueryParsingErrorsSuite.scala:
##########
@@ -27,9 +27,10 @@ class QueryParsingErrorsSuite extends QueryTest with 
QueryErrorsSuiteBase {
     validateParsingError(
       sqlText = "SELECT * FROM t1 NATURAL JOIN LATERAL (SELECT c1 + c2 AS c2)",
       errorClass = "UNSUPPORTED_FEATURE",
+      errorSubClass = Some("LATERAL_NATURAL_JOIN"),
       sqlState = "0A000",
       message =
-        """The feature is not supported: "LATERAL" join with "NATURAL" 
join.(line 1, pos 14)
+        """The feature is not supported: NATURAL join with LATERAL 
correlation.(line 1, pos 14)

Review Comment:
   Let's only introduce sub-classes by this PR and keep the same quoting. We 
can discuss quoting separately later. I think new quoting rules is not related 
to sub-classes, and I don't see any reasons to mix unrelated changes 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