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_r226784282
##########
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) {
Review comment:
I was thinking may be we can open an improvement JIRA to do this routing
directly from HashJoin fragment to probe side RTF operator fragment. We can
pass this routing information specific to each HashJoin and it's corresponding
probe side scan while scheduling HashJoin MinorFragment. This will help us to
save one extra network hop. In future when there is mechanism to transfer data
batch between 2 local minor fragments without network transfer, the same
optimization will kick in for RuntimeFilter and will avoid any network hop.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services