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
Describe the bug
For business purpose, we need to run dbt compile. But after we started to use elementary, 'dbt compile' is giving this error:
`Runtime Error
Compilation Error in operation elementary-on-run-end-0 (.\dbt_project.yml)
'None' has no attribute 'values'
> in macro clean_elementary_temp_tables (macros\edr\system\system_utils\clean_elementary_temp_tables.sql)
> called by macro on_run_end (macros\edr\system\hooks\on_run_end.sql)
> called by operation elementary-on-run-end-0 (.\dbt_project.yml)`
I traced it and in macro clean_elementary_test_tables, I found out that a dictionary temp_test_table_relations_map is not getting updated anywhere. Then an error is cast.
To Reproduce
Steps to reproduce the behavior:
Install elementary by following all instructions
Activate dbt-env
run "dbt compile
Expected behavior
Dbt compile is expected to run without error
Screenshots
Environment (please complete the following information):
edr Version: [0.14.0]
dbt core version: [1.7.8]
dbt databricks version: [1.7.7]
Additional context
Could you also explain the purpose of clean_elementary_test_tables? Is it possible to set elementary/macros/edr/system/system_utils/get_config_vars.sql/" 'clean_elementary_temp_tables': true," to false by default?
The text was updated successfully, but these errors were encountered:
@will-warner I had not tried that and yes it did resolve my issue. Not sure if this issue is due to upgrading but likely would be the same issue, maybe could be closed. Thanks!
Describe the bug
For business purpose, we need to run dbt compile. But after we started to use elementary, 'dbt compile' is giving this error:
I traced it and in macro clean_elementary_test_tables, I found out that a dictionary temp_test_table_relations_map is not getting updated anywhere. Then an error is cast.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dbt compile is expected to run without error
Screenshots
Environment (please complete the following information):
Additional context
Could you also explain the purpose of clean_elementary_test_tables? Is it possible to set elementary/macros/edr/system/system_utils/get_config_vars.sql/" 'clean_elementary_temp_tables': true," to false by default?
The text was updated successfully, but these errors were encountered: