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 2022/06/22 07:47:36 UTC

[GitHub] [spark] panbingkun opened a new pull request, #36956: [SPARK-38687][SQL][3.3] Use error classes in the compilation errors of generators

panbingkun opened a new pull request, #36956:
URL: https://github.com/apache/spark/pull/36956

   ## What changes were proposed in this pull request?
   Migrate the following errors in QueryCompilationErrors onto use error classes:
   
   - nestedGeneratorError => UNSUPPORTED_GENERATOR.NESTED_IN_EXPRESSIONS
   - moreThanOneGeneratorError => UNSUPPORTED_GENERATOR.MULTI_GENERATOR
   - generatorOutsideSelectError => UNSUPPORTED_GENERATOR.OUTSIDE_SELECT
   - generatorNotExpectedError => UNSUPPORTED_GENERATOR.NOT_GENERATOR
   
   This is a backport of https://github.com/apache/spark/pull/36617.
   
   ### Why are the changes needed?
   Porting compilation errors of generator to new error framework, improve test coverage, and document expected error messages in tests.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   By running new test:
   ```
   $ build/sbt "sql/testOnly *QueryCompilationErrorsSuite*"
   ```


-- 
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] MaxGekk commented on pull request #36956: [SPARK-38687][SQL][3.3] Use error classes in the compilation errors of generators

Posted by GitBox <gi...@apache.org>.
MaxGekk commented on PR #36956:
URL: https://github.com/apache/spark/pull/36956#issuecomment-1163292266

   +1, LGTM. Merging to 3.3.
   Thank you, @panbingkun.


-- 
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] MaxGekk closed pull request #36956: [SPARK-38687][SQL][3.3] Use error classes in the compilation errors of generators

Posted by GitBox <gi...@apache.org>.
MaxGekk closed pull request #36956: [SPARK-38687][SQL][3.3] Use error classes in the compilation errors of generators
URL: https://github.com/apache/spark/pull/36956


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