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


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1198,6 +1198,11 @@
       "Invalid SQL syntax:"
     ],
     "subClass" : {
+      "ANALYZE_TABLE_UNEXPECTED_NOSCAN" : {
+        "message" : [
+          "ANALYZE TABLE ... COMPUTE STATISTICS ... <ctx> must be 'NOSCAN'"

Review Comment:
   1. This error can come from slightly other command: `ANALYZE TABLES IN 
default COMPUTE STATISTICS`
   2. Let's follow `toSQLStmt`, and don't wrap NOSCAN.



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