This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new ab2b54db44c [fix](insert-overwrite) should use un strict replace
(#61082)
ab2b54db44c is described below
commit ab2b54db44c58475cef3946a784ef7be92f79723
Author: morrySnow <[email protected]>
AuthorDate: Fri Mar 6 11:41:13 2026 +0800
[fix](insert-overwrite) should use un strict replace (#61082)
related PR: #60914
Problem Summary:
This pull request introduces a minor update to the partition replacement
logic in `InsertOverwriteUtil.java`. The change ensures that the
partition replacement operation does not enforce strict range checking
by default.
- Partition replacement logic:
* Added the property `PROPERTIES_STRICT_RANGE` with a value of `"false"`
to the properties map when constructing a `ReplacePartitionOp`,
disabling strict range enforcement during partition replacement.
---
.../main/java/org/apache/doris/insertoverwrite/InsertOverwriteUtil.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/insertoverwrite/InsertOverwriteUtil.java
b/fe/fe-core/src/main/java/org/apache/doris/insertoverwrite/InsertOverwriteUtil.java
index 8d831dc98d5..5f8a22aadee 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/insertoverwrite/InsertOverwriteUtil.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/insertoverwrite/InsertOverwriteUtil.java
@@ -102,6 +102,7 @@ public class InsertOverwriteUtil {
}
Map<String, String> properties = Maps.newHashMap();
properties.put(PropertyAnalyzer.PROPERTIES_USE_TEMP_PARTITION_NAME, "false");
+ properties.put(PropertyAnalyzer.PROPERTIES_STRICT_RANGE,
"false");
ReplacePartitionOp replacePartitionOp = new ReplacePartitionOp(
new PartitionNamesInfo(false, validPartitionNames),
new PartitionNamesInfo(true, tempPartitionNames),
isForce, properties);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]