PR #121 includes the following updates:
Bug Fixes
- Users leveraging the Databricks SQL Warehouse runtime were previously unable to run the
fivetran_platform__audit_tablemodel 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 oftrueif the runtime is determined to be SQL Warehouse andfalseif 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
mergestrategy. 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-incrementaltablefor 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
deltafor SQL Warehouse users. For all other destinations theparquetfile 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