hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject hive git commit: HIVE-15099 : PTFOperator.PTFInvocation didn't properly reset the input partition (Wei Zheng, reviewed by Ashutosh Chauhan)
Date Tue, 01 Nov 2016 00:34:31 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-2.1 80b07766a -> 662968b40


HIVE-15099 : PTFOperator.PTFInvocation didn't properly reset the input partition (Wei Zheng,
reviewed by Ashutosh Chauhan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/662968b4
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/662968b4
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/662968b4

Branch: refs/heads/branch-2.1
Commit: 662968b403a2ea90f951e9b619886553f72f7c97
Parents: 80b0776
Author: Wei Zheng <weiz@apache.org>
Authored: Mon Oct 31 17:32:33 2016 -0700
Committer: Wei Zheng <weiz@apache.org>
Committed: Mon Oct 31 17:34:19 2016 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/662968b4/ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java
index 90e64b7..8366ea7 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/PTFOperator.java
@@ -416,6 +416,7 @@ public class PTFOperator extends Operator<PTFDesc> implements Serializable
{
     void close() {
       if ( inputPart != null ) {
         inputPart.close();
+        inputPart = null;
       }
       tabFn.close();
       if ( next != null ) {


Mime
View raw message