sohami commented on a change in pull request #1504: DRILL-6792: Find the right probe side fragment wrapper & fix DrillBuf… URL: https://github.com/apache/drill/pull/1504#discussion_r226783106
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/work/filter/RuntimeFilterRouter.java ########## @@ -125,22 +121,20 @@ public void waitForComplete() { /** * This method is passively invoked by receiving a runtime filter from the network - * @param runtimeFilterWritable + * @param srcRuntimeFilterWritable */ - public void registerRuntimeFilter(RuntimeFilterWritable runtimeFilterWritable) { - broadcastAggregatedRuntimeFilter(runtimeFilterWritable); - } - - - private void broadcastAggregatedRuntimeFilter(RuntimeFilterWritable srcRuntimeFilterWritable) { + public void route(RuntimeFilterWritable srcRuntimeFilterWritable) { BitData.RuntimeFilterBDef runtimeFilterB = srcRuntimeFilterWritable.getRuntimeFilterBDef(); int joinMajorId = runtimeFilterB.getMajorFragmentId(); UserBitShared.QueryId queryId = runtimeFilterB.getQueryId(); List<String> probeFields = runtimeFilterB.getProbeFieldsList(); + List<Integer> sizeInBytes = runtimeFilterB.getBloomFilterSizeInBytesList(); DrillBuf[] data = srcRuntimeFilterWritable.getData(); List<CoordinationProtos.DrillbitEndpoint> scanNodeEps = joinMjId2probdeScanEps.get(joinMajorId); Review comment: joinMjId2probdeScanEps -> joinMjId2**probe**ScanEps ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services