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

Add support for unsigned integer types

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0.Beta1
    • 1.4.0.Alpha2
    • vitess-connector
    • None

      We already support the following sign integer types are signed:

      • TINYINT -> INT16
      • SMALLINT -> INT16
      • MEDIUMINT -> INT32
      • INT-> INT32
      • BIGINT -> INT64

       

      We need to add support for their unsigned types:

      • UNSIGNED TINYINT -> INT16
      • UNSIGNED SMALLINT -> INT32
      • UNSIGNED MEDIUMINT -> INT32
      • UNSIGNED INT -> INT64
      • UNSIGNED BIGINT -> INT64 (if overflow, max unsigned long `18446744073709551615` becomes -1, `18446744073709551614` becomes -2, etc), MySQL Connector has the same behavior.

       

              kewei.shang kewei shang (Inactive)
              kewei.shang kewei shang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: