sohami commented on a change in pull request #1334: DRILL-6385: Support JPPD 
feature
URL: https://github.com/apache/drill/pull/1334#discussion_r207946163
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
 ##########
 @@ -408,6 +424,9 @@ private void runPhysicalPlan(final PhysicalPlan plan) 
throws ExecutionSetupExcep
     fragmentsRunner.setFragmentsInfo(work.getFragments(), 
work.getRootFragment(), work.getRootOperator());
 
     startQueryProcessing();
+    if (enableRuntimeFilter) {
+      runtimeFilterManager.waitForComplete();
 
 Review comment:
   But based on my understanding `RuntimeFilterManager` only sends out 
something over network during broadcasting of aggregated bloomfilter. Broadcast 
currently happens on the Rpc thread which needs to be changed. So at what time 
will this Foreman thread will end up also sending the buffers over network ?

----------------------------------------------------------------
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

Reply via email to