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

Arrays of custom enum types not supported

XMLWordPrintable

    • Hide

      Create a custom enum type and a table that uses it for an array column:

      CREATE TYPE foo AS ENUM ('bar', 'baz');
      
      CREATE TABLE my_table(
        a_column foo[]
      );
      

      Point Debezium at this database and observe that the foo column is not captured.

      Show
      Create a custom enum type and a table that uses it for an array column: CREATE TYPE foo AS ENUM ( 'bar' , 'baz' ); CREATE TABLE my_table( a_column foo[] ); Point Debezium at this database and observe that the foo column is not captured.

      The custom enum types in our schema are successfully handled by Debezium, as are arrays of primitive types like varchar. However, arrays of custom enums are not supported.

            Unassigned Unassigned
            daniel.carleton Daniel Carleton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: