-
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
use create or replace table
in Snowflake table materialization
#1101
Labels
Milestone
Comments
This was referenced Oct 30, 2018
working snowflake adaptor for this. discussed with @drewbanin will be submitting PR soon 🎉 |
Fixed in #1409 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature
Feature description
dbt should use the
create or replace table
syntax in its Snowflake table materialization.Presently, dbt's Snowflake table materialization runs by:
Since Snowflake's transactions aren't serializable, a query issued against Snowflake between steps 2 and 3 will result in an error.
Instead, dbt should use
create or replace table
for tables (as it currently does for views) to atomically replace a table.Who will this benefit?
Snowflake users who run dbt frequently
The text was updated successfully, but these errors were encountered: