You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by vg...@apache.org on 2017/10/03 17:43:04 UTC
hive git commit: HIVE-17602 Explain plan not working (Vineet Garg,
reviewed by Jesus Camacho Rodriguez)
Repository: hive
Updated Branches:
refs/heads/master 88ca553c4 -> c17dbd123
HIVE-17602 Explain plan not working (Vineet Garg, reviewed by Jesus Camacho Rodriguez)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/c17dbd12
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/c17dbd12
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/c17dbd12
Branch: refs/heads/master
Commit: c17dbd123e80da716a6f9c9402282785b23373e0
Parents: 88ca553
Author: Vineet Garg <vg...@apache.com>
Authored: Tue Oct 3 10:42:18 2017 -0700
Committer: Vineet Garg <vg...@apache.com>
Committed: Tue Oct 3 10:42:18 2017 -0700
----------------------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/c17dbd12/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java
index da76c3c..b9ba10b 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java
@@ -890,9 +890,10 @@ public class ExplainTask extends Task<ExplainWork> implements Serializable {
Object val = null;
try {
- if (inTest && postProcess(xpl_note)) {
- val = m.invoke(work, true);
- } else {
+ if(postProcess(xpl_note)) {
+ val = m.invoke(work, inTest);
+ }
+ else{
val = m.invoke(work);
}
}