srielau commented on code in PR #46267:
URL: https://github.com/apache/spark/pull/46267#discussion_r1585894014


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -1323,7 +1323,13 @@
       "The statement, including potential SQL functions and referenced views, 
was too complex to parse.",
       "To mitigate this error divide the statement into multiple, less complex 
chunks."
     ],
-    "sqlState" : "54001"
+    "sqlState": "54001"

Review Comment:
   ```suggestion
       "sqlState" : "54001"
   ```



##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -1323,7 +1323,13 @@
       "The statement, including potential SQL functions and referenced views, 
was too complex to parse.",
       "To mitigate this error divide the statement into multiple, less complex 
chunks."
     ],
-    "sqlState" : "54001"
+    "sqlState": "54001"
+  },
+  "FEATURE_NOT_ENABLED" : {
+    "message" : [
+      "The feature <featureName> is not enable. Consider setting the config: 
<configKey> to <configValue>. To enable this capability."
+    ],
+    "sqlState": "56038"

Review Comment:
   ```suggestion
       "sqlState" : "56038"
   ```



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