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/05/03 12:45:04 UTC

[GitHub] [spark] MaxGekk opened a new pull request, #36439: [SPARK-39087][SQL][3.3] Improve messages of error classes

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

   ### What changes were proposed in this pull request?
   In the PR, I propose to modify error messages of the following error classes: 
   - INVALID_JSON_SCHEMA_MAP_TYPE
   - INCOMPARABLE_PIVOT_COLUMN
   - INVALID_ARRAY_INDEX_IN_ELEMENT_AT
   - INVALID_ARRAY_INDEX
   - DIVIDE_BY_ZERO
   
   This is a backport of https://github.com/apache/spark/pull/36428.
   
   ### Why are the changes needed?
   To improve readability of error messages.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. It changes user-facing error messages.
   
   ### How was this patch tested?
   By running the modified test suites:
   ```
   $ build/sbt "sql/testOnly *QueryCompilationErrorsSuite*"
   $ build/sbt "sql/testOnly *QueryExecutionErrorsSuite*"
   $ build/sbt "sql/testOnly *QueryExecutionAnsiErrorsSuite"
   $ build/sbt "test:testOnly *SparkThrowableSuite"
   ```
   
   Authored-by: Max Gekk <ma...@gmail.com>
   Signed-off-by: Max Gekk <ma...@gmail.com>
   (cherry picked from commit 040526391a45ad610422a48c05aa69ba5133f922)
   Signed-off-by: Max Gekk <ma...@gmail.com>


-- 
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 #36439: [SPARK-39087][SQL][3.3] Improve messages of error classes

Posted by GitBox <gi...@apache.org>.
MaxGekk closed pull request #36439: [SPARK-39087][SQL][3.3] Improve messages of error classes
URL: https://github.com/apache/spark/pull/36439


-- 
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 #36439: [SPARK-39087][SQL][3.3] Improve messages of error classes

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

   Merging to 3.3. Thank you, @HyukjinKwon for review.


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