diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateMvByPartitionCommand.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateMvByPartitionCommand.java index f371a359e0..67864187bb 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateMvByPartitionCommand.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateMvByPartitionCommand.java @@ -180,7 +180,7 @@ public class UpdateMvByPartitionCommand extends InsertOverwriteTableCommand { Expression predicate = ExpressionUtils.and(expressions); // The partition without can be the first partition of LESS THAN PARTITIONS // The null value can insert into this partition, so we need to add or is null condition - if (!range.hasLowerBound()) { + if (!range.hasLowerBound() || range.lowerEndpoint().isMinValue()) { predicate = ExpressionUtils.or(predicate, new IsNull(col)); } return predicate;