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

Require alter table when schema is evolved for contexts #378

Merged
merged 1 commit into from
May 9, 2024

Conversation

pondzix
Copy link
Contributor

@pondzix pondzix commented May 8, 2024

When schema evolves, e.g. when new nested field is added to entity, loader should explicity try to alter underlying BigQuery schema. It works correctly for self-describing events (unstruct columns), but as it turns in case of contexts it doesn't modify schema, alter is skipped, what results in bad data. This commit should fix this problem.

@pondzix pondzix force-pushed the alter_table_schema_evolution branch from f415c6c to 3728587 Compare May 8, 2024 09:45
When schema evolves, e.g. when new nested field is added to entity, loader should explicity try to alter underlying BigQuery schema. It works correctly for self-describing events (unstruct columns), but as it turns in case of contexts it doesn't modify schema, alter is skipped, what results in bad data. This commit should fix this problem.
@pondzix pondzix force-pushed the alter_table_schema_evolution branch from fabb236 to b193fcd Compare May 9, 2024 12:35
@pondzix pondzix merged commit b193fcd into delayed-new-columns May 9, 2024
2 checks passed
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