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

On Incremental model schema upgrade #130

Open
santoshkrs opened this issue Feb 19, 2024 · 0 comments
Open

On Incremental model schema upgrade #130

santoshkrs opened this issue Feb 19, 2024 · 0 comments

Comments

@santoshkrs
Copy link

Hi All,

We are using the incremental model in one of the applications. We are already in production, due to some business requirements we have allocated model member attributes with VARCHAR(19) and now changed the same to VARCHAR(256). This works fine in the fresh deployment but fails in the upgrade time.

Due to customer data, we can't execute the "dbt run --full-refresh " as the customer will lose the data. Please suggest to us how to handle this in upgrade time without the help of dbt flag i.e. --full-refresh.

Dbt command:
Below the command, we run always for the scheduled job once a day
dbt run -m <folder_name> --vars "{'product_tag':'<tag_name>','product_name':'<product_name>','lite_mau_max_limit':20}"

Thanks & Best Regards
-Santosh

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