hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hubertzh...@apache.org
Subject [2/2] incubator-hawq git commit: HAWQ-438. EagerlyReleased hash table involved in hash join in explain statement introduce core on hawq dbg build.
Date Tue, 23 Feb 2016 07:02:04 GMT
HAWQ-438. EagerlyReleased hash table involved in hash join in explain statement introduce core
on hawq dbg build.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/ca4111fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/ca4111fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/ca4111fc

Branch: refs/heads/master
Commit: ca4111fc70b1d6ee20db90522c6114702cf496ce
Parents: edd1f31
Author: hubertzhang <hzhang@pivotal.io>
Authored: Tue Feb 23 14:58:54 2016 +0800
Committer: hubertzhang <hzhang@pivotal.io>
Committed: Tue Feb 23 14:58:54 2016 +0800

----------------------------------------------------------------------
 src/backend/executor/nodeHashjoin.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/ca4111fc/src/backend/executor/nodeHashjoin.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeHashjoin.c b/src/backend/executor/nodeHashjoin.c
index d913b2f..11b4eed 100644
--- a/src/backend/executor/nodeHashjoin.c
+++ b/src/backend/executor/nodeHashjoin.c
@@ -359,14 +359,14 @@ ExecHashJoin(HashJoinState *node)
 			 * If the inner relation is completely empty, and we're not doing an
 			 * outer join, we can quit without scanning the outer relation.
 			 */
-			if (TupIsNull(outerTupleSlot)
-					&& node->js.jointype != JOIN_LEFT
-					&& node->js.jointype != JOIN_LASJ
-					&& node->js.jointype != JOIN_LASJ_NOTIN
-					&& node->hj_InnerEmpty)
+			if (TupIsNull(outerTupleSlot))
 			{
 				/* end of join */
-				if (gp_eager_hashtable_release)
+				if (gp_eager_hashtable_release
+						&& node->js.jointype != JOIN_LEFT
+						&& node->js.jointype != JOIN_LASJ
+						&& node->js.jointype != JOIN_LASJ_NOTIN
+						&& node->hj_InnerEmpty)
 				{
 					ExecEagerFreeHashJoin(node);
 				}


Mime
View raw message