You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALTER TABLE schema.tableName DROP CONSTRAINT constraintname DROP INDEX
Testcase Code
No response
Stacktrace Info
No response
Error Info
[com.alibaba.druid.filter.stat.StatFilter mergeSql 160] [Thread-1] ==> merge sql error, dbType oracle, druid-1.2.22, sql : ALTER TABLE schema.tableName DROP CONSTRAINT constraintname DROP INDEX
com.alibaba.druid.sql.parser.ParserException: illegal name, pos 99, line 1, column 100, token EOF
at com.alibaba.druid.sql.parser.SQLExprParser.name(SQLExprParser.java:2425)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleExprParser.name(OracleExprParser.java:1117)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parseAlterDrop(OracleStatementParser.java:1758)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parseAlterTable(OracleStatementParser.java:1649)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parserAlter(OracleStatementParser.java:1324)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parseStatementList(OracleStatementParser.java:147)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:106)
at com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils.parameterize(ParameterizedOutputVisitorUtils.java:164)
at com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils.parameterize(ParameterizedOutputVisitorUtils.java:135)
at com.alibaba.druid.filter.stat.StatFilter.mergeSql(StatFilter.java:158)
at com.alibaba.druid.filter.stat.StatFilter.createSqlStat(StatFilter.java:692)
at com.alibaba.druid.filter.stat.StatFilter.internalBeforeStatementExecute(StatFilter.java:431)
at com.alibaba.druid.filter.stat.StatFilter.statementExecuteBefore(StatFilter.java:379)
at com.alibaba.druid.filter.FilterEventAdapter.statement_execute(FilterEventAdapter.java:179)
at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:3007)
at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.execute(StatementProxyImpl.java:143)
at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:635)
The text was updated successfully, but these errors were encountered:
Database Type
Oracle
Database Version
Oracle 19c
Druid Version
1.2.22
JDK Version
JDK1.8
Error SQL
ALTER TABLE schema.tableName DROP CONSTRAINT constraintname DROP INDEX
Testcase Code
No response
Stacktrace Info
No response
Error Info
[com.alibaba.druid.filter.stat.StatFilter mergeSql 160] [Thread-1] ==> merge sql error, dbType oracle, druid-1.2.22, sql : ALTER TABLE schema.tableName DROP CONSTRAINT constraintname DROP INDEX
com.alibaba.druid.sql.parser.ParserException: illegal name, pos 99, line 1, column 100, token EOF
at com.alibaba.druid.sql.parser.SQLExprParser.name(SQLExprParser.java:2425)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleExprParser.name(OracleExprParser.java:1117)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parseAlterDrop(OracleStatementParser.java:1758)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parseAlterTable(OracleStatementParser.java:1649)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parserAlter(OracleStatementParser.java:1324)
at com.alibaba.druid.sql.dialect.oracle.parser.OracleStatementParser.parseStatementList(OracleStatementParser.java:147)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:106)
at com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils.parameterize(ParameterizedOutputVisitorUtils.java:164)
at com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils.parameterize(ParameterizedOutputVisitorUtils.java:135)
at com.alibaba.druid.filter.stat.StatFilter.mergeSql(StatFilter.java:158)
at com.alibaba.druid.filter.stat.StatFilter.createSqlStat(StatFilter.java:692)
at com.alibaba.druid.filter.stat.StatFilter.internalBeforeStatementExecute(StatFilter.java:431)
at com.alibaba.druid.filter.stat.StatFilter.statementExecuteBefore(StatFilter.java:379)
at com.alibaba.druid.filter.FilterEventAdapter.statement_execute(FilterEventAdapter.java:179)
at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:3007)
at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.execute(StatementProxyImpl.java:143)
at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:635)
The text was updated successfully, but these errors were encountered: