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 <[email protected]>
   Signed-off-by: Max Gekk <[email protected]>
   (cherry picked from commit 040526391a45ad610422a48c05aa69ba5133f922)
   Signed-off-by: Max Gekk <[email protected]>


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