Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shuwenwei committed Oct 23, 2024
1 parent e6640fa commit 8247bc5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ public class TimePartitionUtils {
BigInteger.valueOf(maxPartition)
.multiply(bigTimePartitionInterval)
.add(bigTimePartitionInterval)
.add(bigTimePartitionOrigin)
.subtract(BigInteger.ONE);
.add(bigTimePartitionOrigin);
if (minPartitionStartTime.compareTo(BigInteger.valueOf(Long.MIN_VALUE)) < 0) {
timePartitionLowerBoundWithoutOverflow =
minPartitionStartTime.add(bigTimePartitionInterval).longValue();
Expand Down

0 comments on commit 8247bc5

Please sign in to comment.