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


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -4629,6 +4629,12 @@
     ],
     "sqlState" : "42K0I"
   },
+  "SQL_SCRIPT_IN_EXECUTE_IMMEDIATE" : {
+    "message" : [
+      "SQL Scripts in EXECUTE IMMEDIATE commands are not allowed. Please 
ensure that the SQL query provided (<sqlString>) is not SQL Script."

Review Comment:
   Can you provide some suggestion how to fix the issue like `Make sure the SQL 
script does not contain BEGIN and END.`



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to