You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/07/12 23:15:16 UTC

[GitHub] [spark] karenfeng opened a new pull request #33309: [WIP][SQL][CORE][SPARK-36904] Label error classes for subset of QueryCompilationErrors

karenfeng opened a new pull request #33309:
URL: https://github.com/apache/spark/pull/33309


   ### What changes were proposed in this pull request?
   
   Adds error classes to some of the exceptions in QueryCompilationErrors.
   
   ### Why are the changes needed?
   
   Improves auditing for developers and adds useful fields for users (error class and SQLSTATE).
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, fills in missing error class and SQLSTATE fields.
   
   ### How was this patch tested?
   
   Existing tests and new unit tests.


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879043119


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140968/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880281567


   **[Test build #141038 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141038/testReport)** for PR 33309 at commit [`802aaaa`](https://github.com/apache/spark/commit/802aaaa4997388588b8a3c0c537971099c33847f).


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878705164






-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880319773


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45553/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880341813


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141038/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] karenfeng commented on a change in pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
karenfeng commented on a change in pull request #33309:
URL: https://github.com/apache/spark/pull/33309#discussion_r669980196



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +11,25 @@
     "message" : [ "Found duplicate keys '%s'" ],
     "sqlState" : "23000"
   },
+  "GROUPING_COLUMN_MISMATCH" : {
+    "message" : [ "Column of grouping (%s) can't be found in grouping columns %s" ],
+    "sqlState" : "22023"

Review comment:
       In this case, all of the new error classes fall under SQLSTATE 22023, which represents an invalid parameter value. Another common SQLSTATE is 42000, which represents all syntax and semantic errors.




-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880341813


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141038/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879006376


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45482/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878702714


   **[Test build #140941 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140941/testReport)** for PR 33309 at commit [`295dc93`](https://github.com/apache/spark/commit/295dc933ee16a892eccea98b0b8ef980cf21bfc3).
    * This patch **fails Spark unit tests**.
    * This patch merges cleanly.
    * This patch adds no public classes.


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] HyukjinKwon commented on a change in pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on a change in pull request #33309:
URL: https://github.com/apache/spark/pull/33309#discussion_r669246375



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +11,25 @@
     "message" : [ "Found duplicate keys '%s'" ],
     "sqlState" : "23000"
   },
+  "GROUPING_COLUMN_MISMATCH" : {
+    "message" : [ "Column of grouping (%s) can't be found in grouping columns %s" ],
+    "sqlState" : "22023"

Review comment:
       sorry @karenfeng if I missed but where do we document these SQL states?




-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879301685


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45491/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880307634


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45553/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879321198


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45491/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879379568


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140977/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA removed a comment on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880281567


   **[Test build #141038 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141038/testReport)** for PR 33309 at commit [`802aaaa`](https://github.com/apache/spark/commit/802aaaa4997388588b8a3c0c537971099c33847f).


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878705163






-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879006376


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45482/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879365340


   **[Test build #140977 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140977/testReport)** for PR 33309 at commit [`db1d67c`](https://github.com/apache/spark/commit/db1d67c410754028b0265dcd280b14f7aa1fdbd1).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds the following public classes _(experimental)_:
     * `case class ParseToTimestampLTZ(`
     * `case class MakeTimestampNTZ(`
     * `case class MakeTimestampLTZ(`
     * `case class DomainJoin(`
     * `sealed trait StreamingSessionWindowStateManager extends Serializable `
     * `class StreamingSessionWindowStateManagerImplV1(`
     * `class StreamingSessionWindowHelper(sessionExpression: Attribute, inputSchema: Seq[Attribute]) `


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880336908


   **[Test build #141038 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141038/testReport)** for PR 33309 at commit [`802aaaa`](https://github.com/apache/spark/commit/802aaaa4997388588b8a3c0c537971099c33847f).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880295831


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45553/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879035164


   **[Test build #140968 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140968/testReport)** for PR 33309 at commit [`295dc93`](https://github.com/apache/spark/commit/295dc933ee16a892eccea98b0b8ef980cf21bfc3).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878664640


   **[Test build #140941 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140941/testReport)** for PR 33309 at commit [`295dc93`](https://github.com/apache/spark/commit/295dc933ee16a892eccea98b0b8ef980cf21bfc3).


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878680916


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45453/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] karenfeng commented on a change in pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
karenfeng commented on a change in pull request #33309:
URL: https://github.com/apache/spark/pull/33309#discussion_r669979430



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +11,25 @@
     "message" : [ "Found duplicate keys '%s'" ],
     "sqlState" : "23000"
   },
+  "GROUPING_COLUMN_MISMATCH" : {
+    "message" : [ "Column of grouping (%s) can't be found in grouping columns %s" ],
+    "sqlState" : "22023"

Review comment:
       The error class README contains a section discussing SQLSTATE: https://github.com/apache/spark/blob/master/core/src/main/resources/error/README.md, including this specific rule:
   ```
   Spark does not define its own classes or subclasses.
   ```
   The SQLSTATEs are determined by consulting the SQL standard.




-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878964052


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45482/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879271462


   **[Test build #140977 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140977/testReport)** for PR 33309 at commit [`db1d67c`](https://github.com/apache/spark/commit/db1d67c410754028b0265dcd280b14f7aa1fdbd1).


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879342573


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45491/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA removed a comment on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878664640


   **[Test build #140941 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140941/testReport)** for PR 33309 at commit [`295dc93`](https://github.com/apache/spark/commit/295dc933ee16a892eccea98b0b8ef980cf21bfc3).


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878929414


   **[Test build #140968 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140968/testReport)** for PR 33309 at commit [`295dc93`](https://github.com/apache/spark/commit/295dc933ee16a892eccea98b0b8ef980cf21bfc3).


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] HyukjinKwon commented on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880345558


   all related tests passed. Merged to master and branch-3.2.


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878693151


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45453/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-880319773


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45553/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] HyukjinKwon commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878898937


   retest this please


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] karenfeng commented on a change in pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
karenfeng commented on a change in pull request #33309:
URL: https://github.com/apache/spark/pull/33309#discussion_r669980196



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +11,25 @@
     "message" : [ "Found duplicate keys '%s'" ],
     "sqlState" : "23000"
   },
+  "GROUPING_COLUMN_MISMATCH" : {
+    "message" : [ "Column of grouping (%s) can't be found in grouping columns %s" ],
+    "sqlState" : "22023"

Review comment:
       In this case, all of the new error classes fall under SQLSTATE 22023, which represents an invalid parameter value. Another common SQLSTATE is 42000, which represents all syntax and semantic errors.




-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] HyukjinKwon closed pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
HyukjinKwon closed pull request #33309:
URL: https://github.com/apache/spark/pull/33309


   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] karenfeng commented on a change in pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
karenfeng commented on a change in pull request #33309:
URL: https://github.com/apache/spark/pull/33309#discussion_r670002541



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +11,25 @@
     "message" : [ "Found duplicate keys '%s'" ],
     "sqlState" : "23000"
   },
+  "GROUPING_COLUMN_MISMATCH" : {
+    "message" : [ "Column of grouping (%s) can't be found in grouping columns %s" ],
+    "sqlState" : "22023"

Review comment:
       For these grouping PRs, it will be easier for developers to leave them out for now; we can always add them down the line.




-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879043119


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140968/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA removed a comment on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879271462


   **[Test build #140977 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/140977/testReport)** for PR 33309 at commit [`db1d67c`](https://github.com/apache/spark/commit/db1d67c410754028b0265dcd280b14f7aa1fdbd1).


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] karenfeng commented on a change in pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
karenfeng commented on a change in pull request #33309:
URL: https://github.com/apache/spark/pull/33309#discussion_r670002541



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +11,25 @@
     "message" : [ "Found duplicate keys '%s'" ],
     "sqlState" : "23000"
   },
+  "GROUPING_COLUMN_MISMATCH" : {
+    "message" : [ "Column of grouping (%s) can't be found in grouping columns %s" ],
+    "sqlState" : "22023"

Review comment:
       Actually, for these grouping PRs, it will be easier for developers to leave them out for now; we can always add them down the line.




-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879342573


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45491/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] SparkQA commented on pull request #33309: [WIP][SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-878987794


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45482/
   


-- 
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-unsubscribe@spark.apache.org

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



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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #33309: [SPARK-36106][SQL][CORE] Label error classes for subset of QueryCompilationErrors

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33309:
URL: https://github.com/apache/spark/pull/33309#issuecomment-879379568


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140977/
   


-- 
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-unsubscribe@spark.apache.org

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



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