Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4833

MySQL 5.7 - no viable alternative at input 'ALTER TABLE ORD_ALLOCATION_CONFIG CHANGE RANK'

    XMLWordPrintable

Details

    Description

      
      2022-03-09 12:03:50,881  WARN 1 --- [cp-debezium] i.d.r.history.KafkaDatabaseHistory       : [,,,,,,,,,,,] : Ignoring unparseable statements 'ALTER TABLE ORD_ALLOCATION_CONFIG CHANGE RANK X_RANK SMALLINT, ALGORITHM=INPLACE' stored in database history: {}io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'ALTER TABLE ORD_ALLOCATION_CONFIG CHANGE RANK X_RANK SMALLINT, ALGORITHM=INPLACE'
      no viable alternative at input 'ALTER TABLE ORD_ALLOCATION_CONFIG CHANGE RANK'
      at io.debezium.antlr.ParsingErrorListener.syntaxError(ParsingErrorListener.java:43) ~[debezium-ddl-parser-1.8.0.Final.jar!/:1.8.0.Final]
      at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41) ~[antlr4-runtime-4.8.jar!/:4.8]
      at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544) ~[antlr4-runtime-4.8.jar!/:4.8]
      at org.antlr.v4.runtime.DefaultErrorStrategy.reportNoViableAlternative(DefaultErrorStrategy.java:310) ~[antlr4-runtime-4.8.jar!/:4.8]
      at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:136) ~[antlr4-runtime-4.8.jar!/:4.8]
      at io.debezium.ddl.parser.mysql.generated.MySqlParser.sqlStatements(MySqlParser.java:1219) ~[debezium-ddl-parser-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.ddl.parser.mysql.generated.MySqlParser.root(MySqlParser.java:941) ~[debezium-ddl-parser-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser.parseTree(MySqlAntlrDdlParser.java:73) ~[debezium-connector-mysql-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser.parseTree(MySqlAntlrDdlParser.java:45) ~[debezium-connector-mysql-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.antlr.AntlrDdlParser.parse(AntlrDdlParser.java:82) ~[debezium-ddl-parser-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.relational.history.AbstractDatabaseHistory.lambda$recover$2(AbstractDatabaseHistory.java:146) ~[debezium-core-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.relational.history.KafkaDatabaseHistory.recoverRecords(KafkaDatabaseHistory.java:311) ~[debezium-core-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.relational.history.AbstractDatabaseHistory.recover(AbstractDatabaseHistory.java:112) ~[debezium-core-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.relational.history.DatabaseHistory.recover(DatabaseHistory.java:158) ~[debezium-core-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.relational.HistorizedRelationalDatabaseSchema.recover(HistorizedRelationalDatabaseSchema.java:62) ~[debezium-core-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.schema.HistorizedDatabaseSchema.recover(HistorizedDatabaseSchema.java:38) ~[debezium-core-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.connector.mysql.MySqlConnectorTask.validateAndLoadDatabaseHistory(MySqlConnectorTask.java:369) ~[debezium-connector-mysql-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.connector.mysql.MySqlConnectorTask.start(MySqlConnectorTask.java:108) ~[debezium-connector-mysql-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.connector.common.BaseSourceTask.start(BaseSourceTask.java:130) ~[debezium-core-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.embedded.EmbeddedEngine.run(EmbeddedEngine.java:759) ~[debezium-embedded-1.8.0.Final.jar!/:1.8.0.Final]
      at io.debezium.embedded.ConvertingEngineBuilder$2.run(ConvertingEngineBuilder.java:188) ~[debezium-embedded-1.8.0.Final.jar!/:1.8.0.Final]
      at com.manh.cp.gravina.MainThread.run(MainThread.java:178) ~[classes!/:na]
      at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_292]
      Caused by: org.antlr.v4.runtime.NoViableAltException: null
      at org.antlr.v4.runtime.atn.ParserATNSimulator.noViableAlt(ParserATNSimulator.java:2026) ~[antlr4-runtime-4.8.jar!/:4.8]
      at org.antlr.v4.runtime.atn.ParserATNSimulator.execATN(ParserATNSimulator.java:467) ~[antlr4-runtime-4.8.jar!/:4.8]
      at org.antlr.v4.runtime.atn.ParserATNSimulator.adaptivePredict(ParserATNSimulator.java:393) ~[antlr4-runtime-4.8.jar!/:4.8]
      at io.debezium.ddl.parser.mysql.generated.MySqlParser.sqlStatements(MySqlParser.java:1017) ~[debezium-ddl-parser-1.8.0.Final.jar!/:1.8.0.Final]
      ... 17 common frames omitted

      Attachments

        Activity

          People

            Unassigned Unassigned
            agarman Andrew Garman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: