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

MySqlJdbcSinkDataTypeConverterIT#testBooleanDataTypeMapping fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.0.Alpha1
    • 2.5.0.Final
    • mysql-connector
    • None

      MySqlJdbcSinkDataTypeConverterIT#testBooleanDataTypeMapping fails

      [ERROR]   MySqlJdbcSinkDataTypeConverterIT.testBooleanDataTypeMapping:73->AbstractConnectorTest.consumeRecordsByTopic:618->AbstractConnectorTest.consumeRecords:579->AbstractConnectorTest.consumeRecords:508->AbstractConnectorTest.consumeRecordsUntil:553 [field name: null] expected:<..."true", "default" : ["1"}}, {"name" : "b2", "index" : "2", "schema" : {"type" : "INT16", "optional" : "true", "default" : "0"}}]}}, {"name" : "after", "index" : "1", "schema" : {"name" : "booleanit.boolean_test_1kv0dx5.BOOLEAN_TEST.Value", "type" : "STRUCT", "optional" : "true", "default" : null, "fields" : [{"name" : "id", "index" : "0", "schema" : {"type" : "INT32", "optional" : "false", "default" : null}}, {"name" : "b1", "index" : "1", "schema" : {"type" : "INT16", "optional" : "true", "default" : "1"}}, {"name" : "b2", "index" : "2", "schema" : {"type" : "INT16", "optional" : "true", "default" : "0"]}}]}}, {"name" : "so...> but was:<..."true", "default" : [null}}, {"name" : "b2", "index" : "2", "schema" : {"type" : "INT16", "optional" : "true", "default" : null}}]}}, {"name" : "after", "index" : "1", "schema" : {"name" : "booleanit.boolean_test_1kv0dx5.BOOLEAN_TEST.Value", "type" : "STRUCT", "optional" : "true", "default" : null, "fields" : [{"name" : "id", "index" : "0", "schema" : {"type" : "INT32", "optional" : "false", "default" : null}}, {"name" : "b1", "index" : "1", "schema" : {"type" : "INT16", "optional" : "true", "default" : null}}, {"name" : "b2", "index" : "2", "schema" : {"type" : "INT16", "optional" : "true", "default" : null]}}]}}, {"name" : "so...>
      

      Apicurio seems to still losing default value in the schema. Created apicurio #4209 for it.

            vjuranek@redhat.com Vojtech Juranek
            vjuranek@redhat.com Vojtech Juranek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: