You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/07/29 14:41:40 UTC

[GitHub] [hive] zabetak commented on pull request #3393: HIVE-26345: SQLOperation class output real exception message to jdbc client

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: gitbox-unsubscribe@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org