【StarRocks版本】:3.0.9
【集群规模】:3fe(3 follower)+3be(fe与be混部)
【机器信息】CPU虚拟核/内存/网卡,例如:16C/32G/万兆
java代码:
报错:
Error updating database. Cause: java.sql.SQLException: sql injection violation, syntax error: error pos 62, line 1, column 60, token IF : alter table test drop partition if exists p202404
The error may exist in file [D:\renren-job-server\target\classes\mapper\SaleOrderDetailsReportDataBaseDao.xml]
The error may involve cn.com.beautyfarm.dao.JobSaleOrderDetailsReportDataBaseDao.deleteEmpSaleOrderDetailToStarRocksPartition
The error occurred while executing an update
SQL: alter table test drop partition if exists p202404
Cause: java.sql.SQLException: sql injection violation, syntax error: error pos 62, line 1, column 60, token IF : alter table test drop partition if exists p202404
; uncategorized SQLException; SQL state [null]; error code [0]; sql injection violation, syntax error: error pos 62, line 1, column 60, token IF : alter table test drop partition if exists p202404; nested exception is java.sql.SQLException: sql injection violation, syntax error: error pos 62, line 1, column 60, token IF : alter table test drop partition if exists p202404
Creating a new SqlSession