v1.7.1 dbt_fivetran_log
·
74 commits
to main
since this release
PR #121 includes the following updates:
Bug Fixes
- Users leveraging the Databricks SQL Warehouse runtime were previously unable to run the
fivetran_platform__audit_table
model due to an incompatible incremental strategy. As such, the following updates have been made:- A new macro
is_databricks_sql_warehouse()
has been added to determine if a SQL Warehouse runtime for Databricks is being used. This macro will return a boolean oftrue
if the runtime is determined to be SQL Warehouse andfalse
if it is any other runtime or a non-Databricks destination. - The above macro is used in determining the incremental strategy within the
fivetran_platform__audit_table
. For Databricks SQL Warehouses, there will be no incremental strategy used. All other destinations and runtime strategies are not impacted with this change.- For the SQL Warehouse runtime, the best incremental strategy we could elect to use is the
merge
strategy. However, we do not have full confidence in the resulting data integrity of the output model when leveraging this strategy. Therefore, we opted for the model to be materialized as a non-incrementaltable
for the time being.
- For the SQL Warehouse runtime, the best incremental strategy we could elect to use is the
- The file format of the model has changed to
delta
for SQL Warehouse users. For all other destinations theparquet
file format is still used.
- A new macro
Features
- Updated README incremental model section to revise descriptions and add information for Databricks SQL Warehouse.
Under the Hood
- Added integration testing pipeline for Databricks SQL Warehouse.
- Applied modifications to the integration testing pipeline to account for jobs being run on both Databricks All Purpose Cluster and SQL Warehouse runtimes.
Full Changelog: v1.7.0...v1.7.1