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

   ### What changes were proposed in this pull request?
   In the PR, I propose:
   1. Output errors in the PRETTY format in the same way as before the PR 
https://github.com/apache/spark/pull/37520.
   2. Do not output non-JSON elements in the MINIMAL and STANDARD formats.
   
   ### Why are the changes needed?
   1. To not break existing apps that might expect text errors in particular 
format.
   3. Do not output extra text when the Thrift Server outputs errors in an JSON 
format.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes.
   
   ### How was this patch tested?
   By running the modified tests:
   ```
   $ build/sbt -Phive -Phive-thriftserver "test:testOnly 
*ThriftServerWithSparkContextInBinarySuite"
   ```


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