[ 
https://issues.apache.org/jira/browse/HIVE-12580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hari Sankar Sivarama Subramaniyan resolved HIVE-12580.
------------------------------------------------------
    Resolution: Won't Fix

After discussing with [~jpullokkaran], realized that this is by design to go 
with this conservative approach. Hence marking this jira as "Won't fix".

> CalcitePlanner.genOpTree tries to run with cbo disable even after a semantic 
> analysis exception
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-12580
>                 URL: https://issues.apache.org/jira/browse/HIVE-12580
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>
> The following code in CalcitePlanner.genOPTree looks buggy : 
> {code}
>           if (!conf.getBoolVar(ConfVars.HIVE_IN_TEST) || isMissingStats
>               || e instanceof CalciteSemanticException) {
>             reAnalyzeAST = true;
>           } else if (e instanceof SemanticException) {
>             throw (SemanticException) e;
>           } else if (e instanceof RuntimeException) {
>             throw (RuntimeException) e;
>           } else {
>             throw new SemanticException(e);
>           }
> {code}
> If we have missing stats and a Semantic exception thrown from from the try 
> block, we still go ahead and continue to generate a plan with cbo turned off.



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

Reply via email to