Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump schema-ddl to 0.15.2 #1134

Closed
istreeter opened this issue Nov 17, 2022 · 0 comments
Closed

Bump schema-ddl to 0.15.2 #1134

istreeter opened this issue Nov 17, 2022 · 0 comments

Comments

@istreeter
Copy link
Contributor

istreeter commented Nov 17, 2022

Schema-ddl 0.15.2 has an important fix for Redshift.

For example, the Snowplow site_search schema has a field like this:

    "filters": {
      "type": "object",
      "additionalProperties": {
        "type": [
          "string",
          "boolean"
        ]
      }
    },

Before this fix, schema-ddl would yield two different columns called filters in the DDL:

 "filters"        VARCHAR(1024)  ENCODE ZSTD,                                                                                                                                                                                                                     
 "filters"        VARCHAR(4096)  ENCODE ZSTD, 

RDB loader would fail with a message like:

[Amazon](500310) Invalid operation: column "filters" duplicated; - SqlState: 42701

@spenes spenes changed the title Common: Bump schema-ddl to 0.15.2 Bump schema-ddl to 0.15.2 Nov 24, 2022
@spenes spenes closed this as completed in 304fb1e Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant