[ https://issues.apache.org/jira/browse/HIVE-15442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Saijin Huang updated HIVE-15442: -------------------------------- Affects Version/s: (was: 2.1.1) 3.0.0 > 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: 3.0.0 > Reporter: Saijin Huang > Assignee: Saijin 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.15#6346)