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_r226721691
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/RuntimeFilterRecordBatch.java
 ##########
 @@ -160,7 +160,7 @@ private void setupHashHelper() {
     if (!runtimeFilterSink.containOne()) {
       return;
     }
-    if (runtimeFilterSink.hasFreshOne()) {
+    if (runtimeFilterSink.hasFreshOne() || current == null) {
 
 Review comment:
   why **current == null** check is needed here ? By default current is null 
only first time and hasFreshOne() will also return true in that case if a valid 
filter is available.

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

Reply via email to