[fix](fe) Fix the sql of AddPartitionRecord (#37341)
Cherry-pick #37295 The range field is accidentally compared to DUMMY_ITEM. It was introduced by #35461.
This commit is contained in:
@ -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());
|
||||
|
||||
Reference in New Issue
Block a user