eldenmoon commented on code in PR #39468:
URL: https://github.com/apache/doris/pull/39468#discussion_r1724290528


##########
fe/fe-core/src/main/java/org/apache/doris/planner/HashDistributionPruner.java:
##########
@@ -119,9 +130,6 @@ public Collection<Long> prune(int columnId, PartitionKey 
hashKey, int complex) {
             Collection<Long> subList = prune(columnId + 1, hashKey, 
newComplex);
             resultSet.addAll(subList);
             hashKey.popColumn();
-            if (resultSet.size() >= bucketsList.size()) {

Review Comment:
   why remove this 



##########
fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java:
##########
@@ -187,7 +191,16 @@ public class OlapScanNode extends ScanNode {
 
     private HashSet<Long> scanBackendIds = new HashSet<>();
 
+    private PartitionPruner partitionPruner = null;
+
+    private Map<Long, Set<Long>> backendId2TabletIds = Maps.newHashMap();
+
     private Map<Long, Integer> tabletId2BucketSeq = Maps.newHashMap();
+
+    private Map<String, RangeMap<ColumnBound, List<Long>>> 
partitionCol2PartitionID = Maps.newHashMap();

Review Comment:
   add comment to explain the key and value



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to