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

Handle Enum as String or Int

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.7.0.Beta1
    • None
    • vitess-connector
    • None

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      Enums are currently sent as ints and mapped to values for streaming change events. For snapshot events they are strings.

      Soon Vitess will only use Strings, so we need to support this for the streaming & snapshot case, which both assume ints

      See zulip chat for more info

      Implementation ideas (optional)

      Implement this in backward/forward compatible way: if the enum is an int convert it, if the enum is a string then return the value as is.

            Unassigned Unassigned
            tthorn Thomas Thornton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: