Skip to content

Commit

Permalink
Update 2021-09-11-sql-dateadd.md
Browse files Browse the repository at this point in the history
  • Loading branch information
johnblust committed Mar 30, 2022
1 parent 8fa2674 commit 1be3506
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/blog/2021-09-11-sql-dateadd.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,7 @@ And it’s actually quite a simple 31-line macro ([source here](https://github.c

Enjoy! FYI I've used dateadd macro in dbt-utils on BigQuery, Postgres, Redshift and Snowflake, but it likely works across most other warehouses.

*Note: While `dbt_utils` doesn't support Databricks by default, you can use other packages that [implement overrides](https://docs.getdbt.com/reference/dbt-jinja-functions/dispatch#overriding-package-macros) as a workaround.*

*This [spark_utils package](https://github.com/dbt-labs/spark-utils/blob/main/macros/dbt_utils/cross_db_utils/dateadd.sql) can help you implement the override needed to add support for Databricks dateadd*

0 comments on commit 1be3506

Please sign in to comment.