hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vg...@apache.org
Subject hive git commit: HIVE-17602 Explain plan not working (Vineet Garg, reviewed by Jesus Camacho Rodriguez)
Date Tue, 03 Oct 2017 17:43:04 GMT
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 <vgarg@apache.com>
Authored: Tue Oct 3 10:42:18 2017 -0700
Committer: Vineet Garg <vgarg@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);
             }
           }


Mime
View raw message