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

Mysql Connector doesn't treat includedColumns well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.7.0.Alpha2
    • 2.2.1.Final
    • mysql-connector
    • None
    • False
    • None
    • False
    • Important

      Bug report

      What Debezium connector do you use and what version?

      MySQL on version 2.2.1.Final

      What is the connector configuration?

      No special configuration

      What is the captured database version and mode of depoyment?

      On AWS, MariaDB 10.3.39

      What behaviour do you expect?

      I expect sync to work.

      What behaviour do you see?

      Rows are sent from MariaDB, but they don't contain all columns since database doesn't send all of them (not sure the reason why), after that, an exception is thrown from TableSchemaBuilder: 
       
      Data row is smaller than a column index, internal schema representation is probably out of sync with real database schema

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

      No, but I haven't seen a code change that should fix it.

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

      No

      How to reproduce the issue using our tutorial deployment?

      I have no idea since I see this against a customer DB and I haven't managed to replicate the issue locally even with the same database version, table schema and DML operations.

            Unassigned Unassigned
            shani.elha Shani Elharrar
            Shani Elharrar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: