v1.6.0 dbt_ad_reporting
fivetran-joemarkiewicz
released this
10 Aug 18:27
·
40 commits
to main
since this release
PR #100 includes the following updates:
🚨 New dbt-core version requirement 🚨
- Updated the metrics spec to reflect the new spec in dbt-core 1.6.0. As a result, the new required dbt version is
[">=1.6.0", "<2.0.0"]
. Be sure to upgrade your dbt-core version when upgrading this package to avoid dbt version compatibility errors.
Feature Updates
- Added
ad_reporting__ad_report.yml
semantic model which is required to define metrics. - Included
metricflow_time_spine.sql
which is required by Metricflow. This will be deprecated in future releases. If you have already created ametricflow_time_spine.sql
model in your project, you will need to disable it for this package by setting the variablead_reporting__metricflow_time_spine_enabled
tofalse
in your project.
## root dbt_project.yml
vars:
ad_reporting__metricflow_time_spine_enabled: false ## true by default
Under the Hood
- Added a new variable
dbt_date:time_zone
which is used by thedbt_date.get_base_dates
macro within themetricflow_time_spine
model. This variable is nested under thead_reporting
hierarchy in the variables config and should not affect any global declarations if you leverage thedbt_date
package in your own environment.- The default value of this variable is
America/Los_Angeles
, but you may be able override this in your own root project.
- The default value of this variable is
## root dbt_project.yml
vars:
"dbt_date:time_zone": "America/Chicago" # Default is "America/Los_Angeles"
Documentation
- Please be aware that due to a bug in dbt-core v1.6.0 the docs were not regenerated as part of this release. You can expect a new release in the future with the regenerated docs that contain these updates.
Contributors
Full Changelog: v1.5.0...v1.6.0