The guide "Incremental models in-depth" is not valid for BigQuery with partitioned tables #4955
Open
1 task done
Labels
content
Improvements or additions to content
improvement
Use this when an area of the docs needs improvement as it's currently unclear
Contributions
Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/best-practices/materializations/4-incremental-models
What part(s) of the page would you like to see updated?
This code
won't filter on partitions in BigQuery and can be extremely expensive 🤑 . See docs here on partition pruning in BQ.
For BQ, with partitioned tables, we should calculate the value first with a
run_query()
and then use it.Example:
Additional information
No response
The text was updated successfully, but these errors were encountered: