This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new f4fabd246ca branch-3.1: [fix](temp_table)Fix drop temp table cannot
fallback old optimizer (#58637)
f4fabd246ca is described below
commit f4fabd246ca8f7aa580ba712419448a54a24192f
Author: zhangdong <[email protected]>
AuthorDate: Thu Dec 4 10:48:32 2025 +0800
branch-3.1: [fix](temp_table)Fix drop temp table cannot fallback old
optimizer (#58637)
Fix drop temp table cannot fallback old optimizer
Related PR: #55726
---
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
index 9bf05c84172..12d41dd3c0f 100644
--- a/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
+++ b/fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
@@ -729,7 +729,7 @@ unsupportedDropStatement
| DROP CATALOG (IF EXISTS)? name=identifier
#dropCatalog
| DROP (GLOBAL | SESSION | LOCAL)? FUNCTION (IF EXISTS)?
functionIdentifier LEFT_PAREN functionArguments? RIGHT_PAREN
#dropFunction
- | DROP TABLE (IF EXISTS)? name=multipartIdentifier FORCE?
#dropTable
+ | DROP TEMPORARY? TABLE (IF EXISTS)? name=multipartIdentifier FORCE?
#dropTable
| DROP USER (IF EXISTS)? userIdentify
#dropUser
| DROP VIEW (IF EXISTS)? name=multipartIdentifier
#dropView
| DROP REPOSITORY name=identifier
#dropRepository
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]