diff options
author | weijie.tong <weijie.tong@alipay.com> | 2018-09-06 19:23:35 +0800 |
---|---|---|
committer | Sorabh Hamirwasia <sorabh@apache.org> | 2018-10-10 09:50:04 -0700 |
commit | 216b1237739935b04c4f54b3f6f05371a4644085 (patch) | |
tree | 50f58c2d7438a7b2e6d86372caf207795d0254c3 /exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java | |
parent | d5146c43986f09f132f4e96966082732a3740181 (diff) |
DRILL-6731: Move the BFs aggregating work from the Foreman to the RuntimeFilter
Diffstat (limited to 'exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java')
-rw-r--r-- | exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java index 658f03a33..3d456967f 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java @@ -724,7 +724,7 @@ public class HashJoinBatch extends AbstractBinaryRecordBatch<HashJoinPOP> { runtimeFilterReporter = new RuntimeFilterReporter((ExecutorFragmentContext) context); RuntimeFilterDef runtimeFilterDef = popConfig.getRuntimeFilterDef(); //RuntimeFilter is not a necessary part of a HashJoin operator, only the query which satisfy the - //RuntimeFilterManager's judgement will have the RuntimeFilterDef. + //RuntimeFilterRouter's judgement will have the RuntimeFilterDef. if (runtimeFilterDef != null) { List<BloomFilterDef> bloomFilterDefs = runtimeFilterDef.getBloomFilterDefs(); for (BloomFilterDef bloomFilterDef : bloomFilterDefs) { @@ -944,7 +944,8 @@ public class HashJoinBatch extends AbstractBinaryRecordBatch<HashJoinPOP> { if (cycleNum == 0 && enableRuntimeFilter) { if (bloomFilters.size() > 0) { - runtimeFilterReporter.sendOut(bloomFilters, probeFields, this.popConfig.getRuntimeFilterDef().isSendToForeman()); + int hashJoinOpId = this.popConfig.getOperatorId(); + runtimeFilterReporter.sendOut(bloomFilters, probeFields, this.popConfig.getRuntimeFilterDef().isSendToForeman(), hashJoinOpId); } } |