Skip to content

Commit e103756

Browse files
committed
fix: add Databricks to delta file_format condition (#2154)
Root cause: dbt_project.yml only checks for 'spark' and 'fabricspark' adapter types when setting file_format to 'delta', but Databricks uses target.type='databricks' which was missing from the condition. Made-with: Cursor
1 parent 2f98ef7 commit e103756

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

elementary/monitor/dbt_project/dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ vars:
3737

3838
models:
3939
elementary_cli:
40-
+file_format: "{{ 'delta' if target.type in ['spark', 'fabricspark'] else none }}"
40+
+file_format: "{{ 'delta' if target.type in ['spark', 'fabricspark', 'databricks'] else none }}"
4141

4242
quoting:
4343
database: "{{ env_var('DATABASE_QUOTING', 'None') | as_native }}"

0 commit comments

Comments
 (0)