This is an automated email from the ASF dual-hosted git repository.
w41ter pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new b238a76ad43 [fix](persist) Fix the generated dropping tmp partition
sql #43079 (#43169)
b238a76ad43 is described below
commit b238a76ad43eaddd5e40552861effb3856c2e577
Author: walter <[email protected]>
AuthorDate: Tue Nov 5 17:44:01 2024 +0800
[fix](persist) Fix the generated dropping tmp partition sql #43079 (#43169)
cherry pick from #43079
---
.../src/main/java/org/apache/doris/persist/DropPartitionInfo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/persist/DropPartitionInfo.java
b/fe/fe-core/src/main/java/org/apache/doris/persist/DropPartitionInfo.java
index d5f6db56a27..9361193e552 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/persist/DropPartitionInfo.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/persist/DropPartitionInfo.java
@@ -59,11 +59,11 @@ public class DropPartitionInfo implements Writable {
this.recycleTime = recycleTime;
StringBuilder sb = new StringBuilder();
- sb.append("DROP PARTITION ");
+ sb.append("DROP ");
if (isTempPartition) {
sb.append("TEMPORARY ");
}
- sb.append("`").append(partitionName).append("`");
+ sb.append("PARTITION `").append(partitionName).append("`");
if (forceDrop) {
sb.append(" FORCE");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]