[ 
https://issues.apache.org/jira/browse/HIVE-9242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262743#comment-14262743
 ] 

Laljo John Pullokkaran commented on HIVE-9242:
----------------------------------------------

[~brocknoland] In this specific case exception is caught and thrown up as 
runtime exception. I am guessing thats what you mean by CBO eating exceptions.

HiveException gets propagated through Calcite as a runtime exception; Without 
changing a lot of plumbing in Calcite it would be difficult to explicitly throw 
HiveException.



> Many places in CBO code eat exceptions
> --------------------------------------
>
>                 Key: HIVE-9242
>                 URL: https://issues.apache.org/jira/browse/HIVE-9242
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Brock Noland
>            Priority: Blocker
>
> I've noticed that there are a number of places in the CBO code which eat 
> exceptions. This is not acceptable. Example:
> https://github.com/apache/hive/blob/357b473a354aace3bd59b522ad7108be561e9d0f/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java#L274



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to