This is an automated email from the ASF dual-hosted git repository.
w41ter pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 2e00fa475b1 [fix](persist) Fix the generated dropping tmp partition
sql #43079 (#43170)
2e00fa475b1 is described below
commit 2e00fa475b15ef412eede72f453ade5cf2f1dd87
Author: walter <[email protected]>
AuthorDate: Tue Nov 5 17:44:31 2024 +0800
[fix](persist) Fix the generated dropping tmp partition sql #43079 (#43170)
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 0138549405e..de2bd7295c9 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
@@ -60,11 +60,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]