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

DDL statement couldn't be parsed

XMLWordPrintable

    • False
    • None
    • False

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      version: 2.6.1.Final

      connector: debezium-connector-oracle

      What is the connector configuration?

      "name": "source", "config": { "connector.class": "io.debezium.connector.oracle.OracleConnector", "include.ddl.changes": "true", "max.queue.size": "16384", "signal.source.condition.readonly": "true", "tasks.max": "1", "query.fetch.size": "10000", "signal.enabled.channels": "source,kafka", "log.mining.strategy": "online_catalog", "schema.history.internal.store.only.captured.tables.ddl": "false", "kafka.consumer.offset.commit.enabled": "false", "topic.prefix": "server1", "decimal.handling.mode": "double", "schema.history.internal.kafka.topic": "schema-changes", "poll.interval.ms": "50", "signal.kafka.groupId": "kafka-signal", "lob.enabled": "false", "log.mining.sleep.time.max.ms": "30", "database.user": "c##cdcuser", "database.dbname": "ORCLCDB", "signal.kafka.bootstrap.servers": "kafka:9092", "signal.kafka.topic": "signal.kafka", "log.mining.sleep.time.default.ms": "10", "time.precision.mode": "connect", "internal.log.mining.transaction.snapshot.boundary.mode": "all", "schema.history.internal.kafka.bootstrap.servers": "kafka:9092", "snapshot.max.threads": "20", "database.port": "1527", "log.mining.restart.connection": "true", "log.mining.sleep.time.increment.ms": "2", "database.hostname": "192.168.1.115", "log.mining.query.filter.mode": "in", "database.password": "cdc", "table.include.list.new": "C##CDCUSER.zsync_update_5", "name": "source", "table.include.list": "C##CDCUSER.zsync_update_1,C##CDCUSER.zsync_update_4,C##CDCUSER.zsync_update_3,C##CDCUSER.zsync_update_2,C##CDCUSER.zsync_update_5", "max.batch.size": "4096", "snapshot.mode": "initial", "signal.kafka.poll.timeout.ms": "100" }, "tasks": [ { "connector": "source", "task": 0 } ], "type": "source" }

      What is the captured database version and mode of depoyment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      oracle version: 19c

      What behaviour do you expect?

      Can parse this ddl:

      CREATE TABLE "C##CDCUSER"."ddl_create_table" ("col_0" number(10) NOT NULL, "col_1" number(10) NOT NULL, "col_2" number(10) NOT NULL, "col_3" number(10) NOT NULL, "col_4" number(10) NOT NULL, "col_5" number(10) NOT NULL, "col_6" number(10) NOT NULL, "col_7" number(10) NOT NULL, "col_8" number(10) NOT NULL, "col_9" number(10) NOT NULL, "col_10" number(10) NOT NULL, "col_11" number(10) NOT NULL, "col_12" number(10) NOT NULL, "col_13" number(10) NOT NULL, "col_14" number(10) NOT NULL, "col_15" number(10) NOT NULL, "col_16" number(10) NOT NULL, "col_17" number(10) NOT NULL, "col_18" number(10) NOT NULL, "col_19" number(10) NOT NULL, "col_20" number(10) NOT NULL, "col_21" number(10) NOT NULL, "col_22" number(10) NOT NULL, "col_23" number(10) NOT NULL, "col_24" number(10) NOT NULL, "col_25" number(10) NOT NULL, "col_26" number(10) NOT NULL, "col_27" number(10) NOT NULL, "col_28" number(10) NOT NULL, "col_29" number(10) NOT NULL, "col_30" number(10) NOT NULL, "col_31" number(10) NOT NULL, "col_32" number(10) NOT NULL, "col_33" number(10) NOT NULL, "col_34" number(10) NOT NULL, "col_35" number(10) NOT NULL, "col_36" number(10) NOT NULL, "col_37" number(10) NOT NULL, "col_38" number(10) NOT NULL, "col_39" number(10) NOT NULL, "col_40" number(10) NOT NULL, "col_41" number(10) NOT NULL, "col_42" number(10) NOT NULL, "col_43" number(10) NOT NULL, "col_44" number(10) NOT NULL, "col_45" number(10) NOT NULL, "col_46" number(10) NOT NULL, "col_47" number(10) NOT NULL, "col_48" number(10) NOT NULL, "col_49" number(10) NOT NULL, "col_50" number(10) NOT NULL, "col_51" number(10) NOT NULL, "col_52" number(10) NOT NULL, "col_53" number(10) NOT NULL, "col_54" number(10) NOT NULL, "col_55" number(10) NOT NULL, "col_56" number(10) NOT NULL, "col_57" number(10) NOT NULL, "col_58" number(10) NOT NULL, "col_59" number(10) NOT NULL, "col_60" number(10) NOT NULL, "col_61" number(10) NOT NULL, "col_62" number(10) NOT NULL, "col_63" number(10) NOT NULL, "col_64" number(10) NOT NULL, "col_65" number(10) NOT NULL, "col_66" number(10) NOT NULL, "col_67" number(10) NOT NULL, "col_68" number(10) NOT NULL, "col_69" number(10) NOT NULL, "col_70" number(10) NOT NULL, "col_71" number(10) NOT NULL, "col_72" number(10) NOT NULL, "col_73" number(10) NOT NULL, "col_74" number(10) NOT NULL, "col_75" number(10) NOT NULL, "col_76" number(10) NOT NULL, "col_77" number(10) NOT NULL, "col_78" number(10) NOT NULL, "col_79" number(10) NOT NULL, "col_80" number(10) NOT NULL, "col_81" number(10) NOT NULL, CONSTRAINTS "ddl_create_table_uk_0" UNIQUE ("col_63", "col_6", "col_68", "col_51", "col_19", "col_53", "col_9", "col_81", "col_40", "col_46"));

      What behaviour do you see?

      <Your answer>

      Do you see the same behaviour using the latest relesead Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      <Your answer>

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)

      io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'CREATE TABLE "C##CDCUSER"."ddl_create_table" ("col_0" number(10) NOT NULL, "col_1" number(10) NOT NULL, "col_2" number(10) NOT NULL, "col_3" number(10) NOT NULL, "col_4" number(10) NOT NULL, "col_5" number(10) NOT NULL, "col_6" number(10) NOT NULL, "col_7" number(10) NOT NULL, "col_8" number(10) NOT NULL, "col_9" number(10) NOT NULL, "col_10" number(10) NOT NULL, "col_11" number(10) NOT NULL, "col_12" number(10) NOT NULL, "col_13" number(10) NOT NULL, "col_14" number(10) NOT NULL, "col_15" number(10) NOT NULL, "col_16" number(10) NOT NULL, "col_17" number(10) NOT NULL, "col_18" number(10) NOT NULL, "col_19" number(10) NOT NULL, "col_20" number(10) NOT NULL, "col_21" number(10) NOT NULL, "col_22" number(10) NOT NULL, "col_23" number(10) NOT NULL, "col_24" number(10) NOT NULL, "col_25" number(10) NOT NULL, "col_26" number(10) NOT NULL, "col_27" number(10) NOT NULL, "col_28" number(10) NOT NULL, "col_29" number(10) NOT NULL, "col_30" number(10) NOT NULL, "col_31" number(10) NOT NULL, "col_32" number(10) NOT NULL, "col_33" number(10) NOT NULL, "col_34" number(10) NOT NULL, "col_35" number(10) NOT NULL, "col_36" number(10) NOT NULL, "col_37" number(10) NOT NULL, "col_38" number(10) NOT NULL, "col_39" number(10) NOT NULL, "col_40" number(10) NOT NULL, "col_41" number(10) NOT NULL, "col_42" number(10) NOT NULL, "col_43" number(10) NOT NULL, "col_44" number(10) NOT NULL, "col_45" number(10) NOT NULL, "col_46" number(10) NOT NULL, "col_47" number(10) NOT NULL, "col_48" number(10) NOT NULL, "col_49" number(10) NOT NULL, "col_50" number(10) NOT NULL, "col_51" number(10) NOT NULL, "col_52" number(10) NOT NULL, "col_53" number(10) NOT NULL, "col_54" number(10) NOT NULL, "col_55" number(10) NOT NULL, "col_56" number(10) NOT NULL, "col_57" number(10) NOT NULL, "col_58" number(10) NOT NULL, "col_59" number(10) NOT NULL, "col_60" number(10) NOT NULL, "col_61" number(10) NOT NULL, "col_62" number(10) NOT NULL, "col_63" number(10) NOT NULL, "col_64" number(10) NOT NULL, "col_65" number(10) NOT NULL, "col_66" number(10) NOT NULL, "col_67" number(10) NOT NULL, "col_68" number(10) NOT NULL, "col_69" number(10) NOT NULL, "col_70" number(10) NOT NULL, "col_71" number(10) NOT NULL, "col_72" number(10) NOT NULL, "col_73" number(10) NOT NULL, "col_74" number(10) NOT NULL, "col_75" number(10) NOT NULL, "col_76" number(10) NOT NULL, "col_77" number(10) NOT NULL, "col_78" number(10) NOT NULL, "col_79" number(10) NOT NULL, "col_80" number(10) NOT NULL, "col_81" number(10) NOT NULL, CONSTRAINTS "ddl_create_table_uk_0" UNIQUE ("col_63", "col_6", "col_68", "col_51", "col_19", "col_53", "col_9", "col_81", "col_40", "col_46"));'
      extraneous input '(' expecting {')', ','}
      io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'CREATE TABLE "C##CDCUSER"."ddl_create_table" ("col_0" number(10) NOT NULL, "col_1" number(10) NOT NULL, "col_2" number(10) NOT NULL, "col_3" number(10) NOT NULL, "col_4" number(10) NOT NULL, "col_5" number(10) NOT NULL, "col_6" number(10) NOT NULL, "col_7" number(10) NOT NULL, "col_8" number(10) NOT NULL, "col_9" number(10) NOT NULL, "col_10" number(10) NOT NULL, "col_11" number(10) NOT NULL, "col_12" number(10) NOT NULL, "col_13" number(10) NOT NULL, "col_14" number(10) NOT NULL, "col_15" number(10) NOT NULL, "col_16" number(10) NOT NULL, "col_17" number(10) NOT NULL, "col_18" number(10) NOT NULL, "col_19" number(10) NOT NULL, "col_20" number(10) NOT NULL, "col_21" number(10) NOT NULL, "col_22" number(10) NOT NULL, "col_23" number(10) NOT NULL, "col_24" number(10) NOT NULL, "col_25" number(10) NOT NULL, "col_26" number(10) NOT NULL, "col_27" number(10) NOT NULL, "col_28" number(10) NOT NULL, "col_29" number(10) NOT NULL, "col_30" number(10) NOT NULL, "col_31" number(10) NOT NULL, "col_32" number(10) NOT NULL, "col_33" number(10) NOT NULL, "col_34" number(10) NOT NULL, "col_35" number(10) NOT NULL, "col_36" number(10) NOT NULL, "col_37" number(10) NOT NULL, "col_38" number(10) NOT NULL, "col_39" number(10) NOT NULL, "col_40" number(10) NOT NULL, "col_41" number(10) NOT NULL, "col_42" number(10) NOT NULL, "col_43" number(10) NOT NULL, "col_44" number(10) NOT NULL, "col_45" number(10) NOT NULL, "col_46" number(10) NOT NULL, "col_47" number(10) NOT NULL, "col_48" number(10) NOT NULL, "col_49" number(10) NOT NULL, "col_50" number(10) NOT NULL, "col_51" number(10) NOT NULL, "col_52" number(10) NOT NULL, "col_53" number(10) NOT NULL, "col_54" number(10) NOT NULL, "col_55" number(10) NOT NULL, "col_56" number(10) NOT NULL, "col_57" number(10) NOT NULL, "col_58" number(10) NOT NULL, "col_59" number(10) NOT NULL, "col_60" number(10) NOT NULL, "col_61" number(10) NOT NULL, "col_62" number(10) NOT NULL, "col_63" number(10) NOT NULL, "col_64" number(10) NOT NULL, "col_65" number(10) NOT NULL, "col_66" number(10) NOT NULL, "col_67" number(10) NOT NULL, "col_68" number(10) NOT NULL, "col_69" number(10) NOT NULL, "col_70" number(10) NOT NULL, "col_71" number(10) NOT NULL, "col_72" number(10) NOT NULL, "col_73" number(10) NOT NULL, "col_74" number(10) NOT NULL, "col_75" number(10) NOT NULL, "col_76" number(10) NOT NULL, "col_77" number(10) NOT NULL, "col_78" number(10) NOT NULL, "col_79" number(10) NOT NULL, "col_80" number(10) NOT NULL, "col_81" number(10) NOT NULL, CONSTRAINTS "ddl_create_table_uk_0" UNIQUE ("col_63", "col_6", "col_68", "col_51", "col_19", "col_53", "col_9", "col_81", "col_40", "col_46"));'
      extraneous input ')' expecting {<EOF>, '/', ';'}
              at io.debezium.antlr.AntlrDdlParser.throwParsingException(AntlrDdlParser.java:366)
              at io.debezium.antlr.AntlrDdlParser.parse(AntlrDdlParser.java:91)
              at io.debezium.connector.oracle.antlr.OracleDdlParser.parse(OracleDdlParser.java:68)

      How to reproduce the issue using our tutorial deployment?

      <Your answer>

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      upgrade antlr version

              anmohant Anisha Mohanty
              svtears s vtears (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: