Repository navigation
v0.7.0 dbt_lever
·
12 commits
to main
since this release
PR #21 includes the following updates:
Features
- For Fivetran Lever connectors created on or after July 27, 2024, the
USERandINTERVIEWER_USERsource tables have been renamed toUSERSandINTERVIEW_USER, respectively. This package now prioritizes theUSERSandINTERVIEW_USERtables if available, falling back toUSERandINTERVIEWER_USERif not.- If you have both tables in your schema and would like to specify this package to leverage the
USERand/orINTERVIEWER_USERtables, you can set the variableslever__using_usersand/orlever__using_interview_userto false in yourdbt_project.yml. - For more information, refer to the July 2024 connector release notes and the related README section.
- If you have both tables in your schema and would like to specify this package to leverage the
- Introduced the ability to union source data from multiple Lever connectors. For more details, see the related README section.
- Streamlined testing by removing tests from intermediate models and consolidating them in the end models, optimizing resource usage and prioritizing the final outputs.
Bug fixes
- Fixed an issue where the dbt package would error due to a missing
CONTACT_LINKsource table for users without source data, even though it was enabled in the Fivetran Connector. A null-filled table will now be generated in such cases.
Documentation updates
- Add missing field definitions to dbt docs.
Under the hood
- In the source package, updated temporary models to union source data using the
fivetran_utils.union_datamacro. - Added the
source_relationcolumn in each staging model to identify the origin of each field, utilizing thefivetran_utils.source_relationmacro. - Updated tests to include the new
source_relationcolumn. - Included the
source_relationcolumn in all joins and window function partition clauses in the transform package. - Added consistency tests for end models.
- Turned off freshness tests for the
USER/USERSandINTERVIEW_USER/INTERVIEWER_USERsources to avoid possible conflicts.
Full Changelog: v0.6.0...v0.7.0