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

No viable alternative at input "add COLUMN optional"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.6.0.Beta2
    • 1.5.0.Final
    • mysql-connector
    • None
    • False
    • False
    • Undefined
      1. Have a working mysql connector.
      2. Issue the example ddl query from the description.
      3. Observe the connector failure.

      This ddl fails the mysql connector:

      ALTER TABLE t1   
          add COLUMN optional bool  DEFAULT 0 NULL
      

      The parser identifies "optional" here as a keyword and not as an identifier while mysql permits this keyword to be used as an identifier.

              Unassigned Unassigned
              ramanenka Vadzim Ramanenka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: