CTTY commented on code in PR #5943:
URL: https://github.com/apache/hudi/pull/5943#discussion_r925174744


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/procedure/TestCallCommandParser.scala:
##########
@@ -82,7 +82,11 @@ class TestCallCommandParser extends HoodieSparkSqlTestBase {
   }
 
   test("Test Call Parse Error") {
-    checkParseExceptionContain("CALL cat.system radish kebab")("mismatched 
input 'CALL' expecting")
+    if (HoodieSparkUtils.gteqSpark3_3_0) {
+      checkParseExceptionContain("CALL cat.system radish kebab")("Syntax error 
at or near 'CALL'")
+    } else {
+      checkParseExceptionContain("CALL cat.system radish kebab")("mismatched 
input 'CALL' expecting")
+    }

Review Comment:
   Error message changed: https://github.com/apache/spark/pull/35707



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

Reply via email to