You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation Error in model user_category_history (models/user_category_history/user_category_history.sql)
macro 'dbt_macro__databricks__tblproperties_clause' takes not more than 0 argument(s)
> in macro apply_tblproperties (macros/relations/tblproperties.sql)
> called by macro materialization_incremental_databricks (macros/materializations/incremental/incremental.sql)
> called by model user_category_history (models/user_category_history/user_category_history.sql)
System information
The output of dbt --version:
Running with dbt=1.9.0
The operating system you're using: Databricks workflow on SQLWarehouse Classic
The output of python --version:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Can you try fresh installing your dbt libraries? databricks__tblproperties_clause in 1.9.0 takes an argument, so this error suggests you still have an old copy of the macro.
Describe the bug
A model running perfectly with 1.8.9 fails for tblproperties with 1.9.0
Steps To Reproduce
this is the source code. I just did
dbt build
{{ config( materialized='incremental', incremental_strategy='merge', unique_key=['bk_user_category', 'id_source_system'], full_refresh=false, tblproperties={ 'delta.autoOptimize.optimizeWrite' : 'true', 'delta.autoOptimize.autoCompact' : 'auto' } ) }} SELECT DISTINCT bk_user_category, id_source_system FROM {{source('stg','t_user_category')}} op
Expected behavior
The model working as happens with 1.8.9
Screenshots and log output
System information
The output of
dbt --version
:The operating system you're using: Databricks workflow on SQLWarehouse Classic
The output of
python --version
:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: