Update any incremental models to update partition_by for databricks and add current strategies if not present:
config(
materialized='incremental',
unique_key='<original unique key>',
partition_by={'field': '<original field>', 'data_type': '<original data type>'} if target.type not in ('spark','databricks') else ['<original field>'],
incremental_strategy = 'merge' if target.type not in ('postgres', 'redshift') else 'delete+insert',
file_format = 'delta'
)
Describe alternatives you've considered
No response
Are you interested in contributing this feature?
[ ] Yes.
[ ] Yes, but I will need assistance and will schedule time during your office hours for guidance.
Copied from fivetran/dbt_mixpanel #34.
Is there an existing feature request for this?
Describe the Feature
For Databricks Compatibility, add the following:
pre-command
(example)pipeline.yml
(example)sample.profiles.yml
(example)integration_tests/dbt_project.yml
if it's not there:source
packages, update src yml so a database won't be passed to spark (example or use below):Describe alternatives you've considered
No response
Are you interested in contributing this feature?
Anything else?
No response