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

No viable alternative at input "add COLUMN optional"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: