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

   ### What changes were proposed in this pull request?
   Wrap values of SQL configs and datasource options in error messages by 
double quotes. Added the `toDSOption()` method to `QueryErrorsBase` to quote DS 
options.
   
   ### Why are the changes needed?
   1. To highlight SQL config/DS option values and make them more visible for 
users.
   2. To be able to easily parse values from error text.
   3. To be consistent to other outputs of identifiers, sql statement and etc. 
where Spark uses quotes or ticks.
   
   ### 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 "testOnly *QueryCompilationErrorsSuite"
   $ build/sbt "testOnly *QueryExecutionAnsiErrorsSuite"
   $ build/sbt "testOnly *QueryExecutionErrorsSuite"
   ```


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

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


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

Reply via email to