cloud-fan commented on pull request #28963:
URL: https://github.com/apache/spark/pull/28963#issuecomment-653508864


   There are user-facing errors and unexpected internal errors. For example, if 
a user makes a mistake in the SQL query, we should tell him what the error is 
(like table not found), and stack trace is not useful in this case. But we do 
need the stack trace for unexpected internal errors, to help us debug.
   
   That said, adding a config is not the best solution. We need an error 
reporting framework to hide the stacktrace for user-facing errors, and keep the 
stacktrace for others.
   
   How about we keep this PR as it is, so that thriftserver is consistent with 
sql-shell and  spark applications. And work on the error reporting framework 
later? cc @gatorsmile 


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

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