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_r229909442
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/work/filter/RuntimeFilterSink.java
 ##########
 @@ -115,7 +98,8 @@ public void aggregate(RuntimeFilterWritable 
runtimeFilterWritable) {
   public RuntimeFilterWritable fetchLatestDuplicatedAggregatedOne() {
     try {
       aggregatedRFLock.lock();
-      return aggregated.duplicate(bufferAllocator);
+      RuntimeFilterWritable duplicated = aggregated.duplicate(bufferAllocator);
 
 Review comment:
   This class is not required anymore. It's only used in tests where we should 
replace the reference with correct implementation. Basically update the test 
implementation of [this 
method](https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java#L172)

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