zabetak commented on PR #3393:
URL: https://github.com/apache/hive/pull/3393#issuecomment-1199426280

   Thanks for your detailed analysis @zhangbutao and apologies for the delay. I 
guess you are right that we should handle the problem in the HS2 side but I 
still believe that concatenating exception messages is not the right way to 
move forward.
   
   If we need to inform the client (e.g., beeline) about a specific error maybe 
we need to use an entry from `ErrorMsg` class, add a new one, and or do 
something similar to what happens in 
[Compiler.handleException](https://github.com/apache/hive/blob/714c260e4a7c6b147c897718a33e693699267792/ql/src/java/org/apache/hadoop/hive/ql/Compiler.java#L459).


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