You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gold huang (JIRA)" <ji...@apache.org> on 2016/12/16 03:02:59 UTC
[jira] [Created] (HIVE-15442) Driver.java has a redundancy code
Gold huang created HIVE-15442:
---------------------------------
Summary: 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
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)