-
Notifications
You must be signed in to change notification settings - Fork 161
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
[ADAP-691] [Feature] add incremental strategy append #811
Comments
If you do merge without a unique key specification the behaviour should be append only.
But I haven't tested it. |
@rloredo OK, nice to know. I think this should be implemented by default so that this works equal to the other db provider with incremental strategy |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
Thanks for raising this @leo-schick ! I think this would be covered by the work in dbt-labs/dbt-core#9290. Namely, these two:
So I'm going to leave this closed as a duplicate of those ones. |
Is this your first time submitting a feature request?
Describe the feature
Other dbt adapters support the incremental stragey
append
but dbt-bigquery does not: Supported incremental strategies by adapterI was wondering why this has not been implemented since it is quite useful when you want to create a log table holding snapshot data with a timestamp.
I found blog item Creating “Append” Materialization in dbt (data build tool) which discusses addinng
append_only
as a materialization option to dbt-bigquery on an older dbt version, so it must be possible to do that in big query.Describe alternatives you've considered
I implemented this now with
merge
by using a column withcurrent_timestamp()
as key. That works not perfect:Who will this benefit?
People building historical data tables or people which use the incremental strategy
append
with another adapeter and now want to switch their dbt project over to big query.Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: