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

   ### What changes were proposed in this pull request?
   In the PR, I propose to improve errors of the following error classes:
   1. NON_PARTITION_COLUMN
   2. UNSUPPORTED_SAVE_MODE
   3. INVALID_FIELD_NAME
   4. FAILED_SET_ORIGINAL_PERMISSION_BACK
   5. NON_LITERAL_PIVOT_VALUES
   6. INVALID_SYNTAX_FOR_CAST
   
   ### Why are the changes needed?
   To improve user experience with Spark SQL by making error message more clear.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, it changes user-facing error messages.
   
   ### How was this patch tested?
   By running the affected test suites:
   ```
   $ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite"
   $ build/sbt "sql/testOnly *QueryCompilationErrorsDSv2Suite"
   $ build/sbt "sql/testOnly *QueryCompilationErrorsSuite"
   $ build/sbt "sql/testOnly *QueryExecutionAnsiErrorsSuite"
   $ build/sbt "sql/testOnly *QueryExecutionErrorsSuite"
   $ build/sbt "sql/testOnly *QueryParsingErrorsSuite*"
   ```


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