We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179d145 commit 525c6d3Copy full SHA for 525c6d3
fe/fe-core/src/main/java/org/apache/doris/clone/DynamicPartitionScheduler.java
@@ -171,8 +171,8 @@ private static long getNextPartitionSize(ArrayList<Long> historyPartitionsSize)
171
}
172
173
boolean isAscending = true;
174
- List<Long> ascendingDeltaSize = List.newArrayList();
175
- for (int i = math.max(1, historyPartitionsSize.size() - 7); i < historyPartitionsSize.size(); i++) {
+ ArrayList<Long> ascendingDeltaSize = new ArrayList<Long>();
+ for (int i = Math.max(1, historyPartitionsSize.size() - 7); i < historyPartitionsSize.size(); i++) {
176
long delta = historyPartitionsSize.get(i) - historyPartitionsSize.get(i - 1);
177
if (delta < 0) {
178
isAscending = false;
0 commit comments