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

Gold huang updated HIVE-15442:
------------------------------
    Status: Patch Available  (was: Open)

> Driver.java has a redundancy  code
> ----------------------------------
>
>                 Key: HIVE-15442
>                 URL: https://issues.apache.org/jira/browse/HIVE-15442
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Gold huang
>            Assignee: Gold huang
>            Priority: Minor
>         Attachments: HIVE-15442.patch
>
>
> Driver.java has a  redundancy  code,i think the third if statement could be 
> remved.
> if (conf.getBoolVar(ConfVars.HIVE_LOG_EXPLAIN_OUTPUT)) {
>         String explainOutput = getExplainOutput(sem, plan, tree.dump());
>         if (explainOutput != null) {
>           if (conf.getBoolVar(ConfVars.HIVE_LOG_EXPLAIN_OUTPUT)) {
>             LOG.info("EXPLAIN output for queryid " + queryId + " : " + 
> explainOutput);
>           }
>           if (conf.isWebUiQueryInfoCacheEnabled()) {
>             queryDisplay.setExplainPlan(explainOutput);
>           }
>         }
>       }



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

Reply via email to