Skip to content

[tap-mysql] discovery schema for json columns does not accept array types #1199

Description

@jamesmeneghello

Current jsonschema output for a json field in MySQL is:

"type": [
  "null",
  "object"
]

However, this should also accept array, as MySQL JSON fields can store JSON arrays directly. Hence, any records containing JSON arrays currently fail schema validation during transfer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions