kr11 commented on a change in pull request #31: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/31#discussion_r251025334
 
 

 ##########
 File path: 
iotdb/src/main/java/org/apache/iotdb/db/qp/strategy/optimizer/MergeSingleFilterOptimizer.java
 ##########
 @@ -127,7 +130,11 @@ private Path mergeSamePathFilter(FilterOperator filter) 
throws LogicalOptimizeEx
         ret.add(newFil);
       }
     }
-    // add last null children
+    // add last null child
+    return addLastNullChild(children, ret, filter, i, childPath);
+  }
+
+  private Path addLastNullChild(List<FilterOperator> children, 
List<FilterOperator> ret, FilterOperator filter, int i, Path childPath){
 
 Review comment:
   fixed

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