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

column exclusion - properly handle schema changes #1512

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

heavycrystal
Copy link
Contributor

Column exclusions works by removing columns from the schema we fetch of the source table. This exclusion was not being done in the code path for schema changes [where we fetch the schema again], causing a disconnect and normalize to fail.

Fixed by moving the exclusion code to a separate function and making both code paths use it. Also CDC handles excluded columns earlier to prevent spurious logs.

@heavycrystal heavycrystal enabled auto-merge (squash) March 20, 2024 20:32
@heavycrystal heavycrystal merged commit af39551 into main Mar 20, 2024
7 checks passed
@heavycrystal heavycrystal deleted the column-exclusion-post-schema-changes branch March 20, 2024 20:39
heavycrystal added a commit that referenced this pull request Mar 21, 2024
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.

2 participants