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

MySQL ANTLR parser for ALTER ADD COLUMN with instant=algorithm

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      ```

      CREATE TABLE `test_lot` (
        `lot_id` bigint unsigned NOT NULL,
        `trade_date` date NOT NULL,
        PRIMARY KEY (`lot_id`,`trade_date`)
      ) ENGINE=InnoDB 
        
       ALTER TABLE test_lot ADD COLUMN event_ref_type_id INTEGER, algorithm=instant, ADD COLUMN event_ref_id BIGINT, algorithm=instant;

      ```

      The ANTLR parser only parses the first column event_ref_type_id and stops after that and does not parse the second column event_ref_id

              Unassigned Unassigned
              subkanthi Kanthi Subramanian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: