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/snowflake varchar cols #145

Merged

Conversation

agnessnowplow
Copy link
Contributor

@agnessnowplow agnessnowplow commented Dec 18, 2024

Summary

This is essentially two releases in one as both handle the same: making sure that regardless if any atomic varchar field that currently has a fixed length changes to varchar it won't break the data model.

It affects Snowflake users that want to use the Snowflake Streaming Loader, which allows for such changes.

Snowflake Mobile Version 1.1.1 (2025-01-08)

Snowflake Mobile: Remove length limits from varchar fields

Snowflake Web Version 1.0.3 (2025-01-08)

Snowflake Web: Remove length limits from varchar fields

Migration Guide

Please run the migration playbooks first, as part of the upgrade to prepare existing model tables for the changes.

Alternatively, copy the scripts, replace the placeholders and execute them in your sql editor of choice before upgrading and running the model for the first time.

Developer Notes

E2E tests run successfully for both models as well as the separate migration playbooks:
sql-runner -playbook "sql-runner/playbooks/standard/99-migrations/1.0.3-migration.yml" -sqlroot "sql-runner/sql"
sql-runner -playbook "sql-runner/playbooks/standard/99-migrations/1.1.1-migration.yml" -sqlroot "sql-runner/sql"

@agnessnowplow agnessnowplow force-pushed the fix/snowflake_varchar_cols branch from 59f6552 to 510baa4 Compare December 18, 2024 12:17
@ilias1111 ilias1111 self-requested a review January 2, 2025 09:00
@agnessnowplow agnessnowplow force-pushed the fix/snowflake_varchar_cols branch from b6ae334 to 8f31ace Compare January 8, 2025 11:37
@agnessnowplow agnessnowplow merged commit 6c3af95 into release/snowflake-web-mobile/varchar Jan 8, 2025
@agnessnowplow agnessnowplow deleted the fix/snowflake_varchar_cols branch January 8, 2025 11:38
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.

4 participants