Jibing-Li commented on code in PR #32185:
URL: https://github.com/apache/doris/pull/32185#discussion_r1531447457
##########
fe/fe-core/src/main/java/org/apache/doris/statistics/OlapAnalysisTask.java:
##########
@@ -255,7 +256,9 @@ protected Pair<List<Long>, Long>
calcActualSampleTablets(boolean forPartitionCol
List<Long> sampleTabletIds = new ArrayList<>();
long actualSampledRowCount = 0;
boolean enough = false;
- for (Partition p : olapTable.getPartitions()) {
+ List<Partition> sortedPartitions =
olapTable.getPartitions().stream().sorted(
+
Comparator.comparing(Partition::getName)).collect(Collectors.toList());
+ for (Partition p : sortedPartitions) {
Review Comment:
Nereids tpcds shape test stats was collected using full analyze, so we don't
need to update it.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]