-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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/full refresh #350
Fix/full refresh #350
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks great
# built-ins | ||
context['ref'] = self.__ref(context, model, flat_graph) | ||
context['config'] = self.__model_config(model, linker) | ||
context['this'] = This( | ||
context['env']['schema'], | ||
(model.get('name') if dbt.flags.NON_DESTRUCTIVE | ||
else '{}__dbt_tmp'.format(model.get('name'))), | ||
this_table, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dig it
self.assertGreater( | ||
len(columns), | ||
0 | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is cool. not directly related to this branch but i don't think this works on snowflake. it'd be great to test this across warehouses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmmm ok. I'm going to merge this b/c the already_exists
work is blocking. But I'll make an issue for better Snowflake integration tests
make full refresh work, make tests actually test things. I also cleaned up some code relating to
--non-destructive
since the two are closely related.Addresses:
#303
#348
Pre-req for #287