alter table table drop partition p2024081912;
报错日志
2024-08-22 11:50:15.521Z WARN (thrift-server-pool-46354|50438) [StmtExecutor.handleDdlStmt():1730] DDL statement (/* ApplicationName=CloudBeaver CE Server 24.0.0 - Main */ alter table table drop partition p2024081912) process failed.
java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:129)
at com.starrocks.server.LocalMetastore.dropPartition(LocalMetastore.java:1411)
at com.starrocks.alter.AlterJobExecutor.lambda$visitDropPartitionClause$6(AlterJobExecutor.java:408)
at com.starrocks.common.ErrorReport.wrapWithRuntimeException(ErrorReport.java:113)
at com.starrocks.alter.AlterJobExecutor.visitDropPartitionClause(AlterJobExecutor.java:407)
at com.starrocks.alter.AlterJobExecutor.visitDropPartitionClause(AlterJobExecutor.java:86)
at com.starrocks.sql.ast.DropPartitionClause.accept(DropPartitionClause.java:79)
at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:71)
at com.starrocks.alter.AlterJobExecutor.visitAlterTableStatement(AlterJobExecutor.java:130)
at com.starrocks.alter.AlterJobExecutor.visitAlterTableStatement(AlterJobExecutor.java:86)
at com.starrocks.sql.ast.AlterTableStmt.accept(AlterTableStmt.java:90)
at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:71)
at com.starrocks.alter.AlterJobExecutor.process(AlterJobExecutor.java:97)
at com.starrocks.server.LocalMetastore.alterTable(LocalMetastore.java:2978)
at com.starrocks.server.MetadataMgr.alterTable(MetadataMgr.java:389)
at com.starrocks.qe.DDLStmtExecutor$StmtExecutorVisitor.lambda$visitAlterTableStatement$17(DDLStmtExecutor.java:394)
at com.starrocks.common.ErrorReport.wrapWithRuntimeException(ErrorReport.java:113)
at com.starrocks.qe.DDLStmtExecutor$StmtExecutorVisitor.visitAlterTableStatement(DDLStmtExecutor.java:393)
at com.starrocks.qe.DDLStmtExecutor$StmtExecutorVisitor.visitAlterTableStatement(DDLStmtExecutor.java:181)
at com.starrocks.sql.ast.AlterTableStmt.accept(AlterTableStmt.java:90)
at com.starrocks.sql.ast.AstVisitor.visit(AstVisitor.java:71)
at com.starrocks.qe.DDLStmtExecutor.execute(DDLStmtExecutor.java:167)
at com.starrocks.qe.StmtExecutor.handleDdlStmt(StmtExecutor.java:1700)
at com.starrocks.qe.StmtExecutor.execute(StmtExecutor.java:675)
at com.starrocks.qe.ConnectProcessor.proxyExecute(ConnectProcessor.java:813)
at com.starrocks.service.FrontendServiceImpl.forward(FrontendServiceImpl.java:1206)
at com.starrocks.thrift.FrontendService$Processor$forward.getResult(FrontendService.java:4809)
at com.starrocks.thrift.FrontendService$Processor$forward.getResult(FrontendService.java:4786)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:40)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:40)
at com.starrocks.common.SRTThreadPoolServer$WorkerProcess.run(SRTThreadPoolServer.java:311)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)