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

fix(dbt): Remove Redshift-specific column metadata #291

Merged
merged 2 commits into from
May 9, 2024

Conversation

Vitor-Avila
Copy link
Contributor

Redshift reflection query returns additional metadata that isn't compatible with the Superset column schema. This PR removes the info key when syncing columns.

I think long-term solution is to enforce the Superset schema for columns and metrics accordingly -- I'll look into that in a future PR.

Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's add a Marshmallow schema that ignores unknown fields and use it here instead (in the future).

@Vitor-Avila Vitor-Avila merged commit 3908256 into main May 9, 2024
5 checks passed
@Vitor-Avila Vitor-Avila deleted the redshift-columns branch May 9, 2024 14:43
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

Successfully merging this pull request may close these issues.

None yet

2 participants