You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by w4...@apache.org on 2024/07/05 02:00:02 UTC
(doris) branch master updated: [fix](fe) Fix the sql of AddPartitionRecord (#37295)
This is an automated email from the ASF dual-hosted git repository.
w41ter 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 41501d9a131 [fix](fe) Fix the sql of AddPartitionRecord (#37295)
41501d9a131 is described below
commit 41501d9a131e2ab0245642544d5450eb023a0885
Author: walter <w4...@gmail.com>
AuthorDate: Fri Jul 5 09:59:56 2024 +0800
[fix](fe) Fix the sql of AddPartitionRecord (#37295)
The range field is accidentally compared to DUMMY_ITEM.
It was introduced by #35461.
---
.../src/main/java/org/apache/doris/binlog/AddPartitionRecord.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/binlog/AddPartitionRecord.java b/fe/fe-core/src/main/java/org/apache/doris/binlog/AddPartitionRecord.java
index 852c0b45d87..bb5485b2624 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/binlog/AddPartitionRecord.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/binlog/AddPartitionRecord.java
@@ -79,7 +79,7 @@ public class AddPartitionRecord {
sb.append("` ");
// See fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java:addPartition for details.
- if (!this.range.equals(RangePartitionItem.DUMMY_ITEM)) {
+ if (!this.range.equals(RangePartitionItem.DUMMY_RANGE)) {
// range
sb.append("VALUES [");
sb.append(range.lowerEndpoint().toSql());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org