Exception raised while generating the observability report using the OSS version locally.
Describe the bug A clear and concise description of what the bug is.
{"data": {"exc": "Compilation Error\n 'dict object' has no attribute 'config'\n \n > in macro trino__create_table_as (macros/adapters.sql)\n > called by macro create_table_as (macros/relations/table/create.sql)\n > called by macro create_temp_table (macros/utils/table_operations/create_temp_table.sql)\n > called by macro default__create_temp_table (macros/create_temp_table.sql)\n > called by macro create_temp_table (macros/create_temp_table.sql)\n > called by macro get_test_results (macros/get_test_results.sql)\n > called by macro log_macro_results (macros/utils/log_macro_results.sql)\n > called by <Unknown>"}, "info": {"category": "", "code": "Q001", "extra": {}, "invocation_id": "62675ace-5081-4af5-a689-b7ca8b22f18f", "level": "error", "msg": "Encountered an error while running operation: Compilation Error\n 'dict object' has no attribute 'config'\n \n > in macro trino__create_table_as (macros/adapters.sql)\n > called by macro create_table_as (macros/relations/table/create.sql)\n > called by macro create_temp_table (macros/utils/table_operations/create_temp_table.sql)\n > called by macro default__create_temp_table (macros/create_temp_table.sql)\n > called by macro create_temp_table (macros/create_temp_table.sql)\n > called by macro get_test_results (macros/get_test_results.sql)\n > called by macro log_macro_results (macros/utils/log_macro_results.sql)\n > called by <Unknown>", "name": "RunningOperationCaughtError", "pid": 34815, "thread": "MainThread", "ts": "2025-04-03T18:56:51.913525Z"}}
2025-04-03 14:56:52 — ERROR — Could not generate the report - Error: Failed to run dbt command.
{"info": {"name": "RunningOperationCaughtError", "code": "Q001", "msg": "Encountered an error while running operation: Compilation Error\n 'dict object' has no attribute 'config'\n \n > in macro trino__create_table_as (macros/adapters.sql)\n > called by macro create_table_as (macros/relations/table/create.sql)\n > called by macro create_temp_table (macros/utils/table_operations/create_temp_table.sql)\n > called by macro default__create_temp_table (macros/create_temp_table.sql)\n > called by macro create_temp_table (macros/create_temp_table.sql)\n > called by macro get_test_results (macros/get_test_results.sql)\n > called by macro log_macro_results (macros/utils/log_macro_results.sql)\n > called by <Unknown>", "level": "error", "invocationId": "62675ace-5081-4af5-a689-b7ca8b22f18f", "pid": 34815, "thread": "MainThread", "ts": "2025-04-03T18:56:51.913525Z"}, "data": {"exc": "Compilation Error\n 'dict object' has no attribute 'config'\n \n > in macro trino__create_table_as (macros/adapters.sql)\n > called by macro create_table_as (macros/relations/table/create.sql)\n > called by macro create_temp_table (macros/utils/table_operations/create_temp_table.sql)\n > called by macro default__create_temp_table (macros/create_temp_table.sql)\n > called by macro create_temp_table (macros/create_temp_table.sql)\n > called by macro get_test_results (macros/get_test_results.sql)\n > called by macro log_macro_results (macros/utils/log_macro_results.sql)\n > called by <Unknown>"}}
Please reach out to our community for help with this issue.
To Reproduce Steps to reproduce the behavior:
- Followed quickstart guide
- edr report -p ./conf/
Expected behavior A clear and concise description of what you expected to happen.
report is generated without exception
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Elementary CLI (edr) version: 0.18.1
- Elementary dbt package version: 0.18.1
- dbt version: 1.9.3
- Trino/Iceberg
Additional context Add any other context about the problem here.
Would you be willing to contribute a fix for this issue? Let us know if you're willing to contribute so that we'll be able to provide guidance.
Same issue for me
Piping in that I have the same issue. Also using Trino + Iceberg, with edr 0.18.2 and dbt package 0.18.3. Tried multiple versions of edr (0.18.1, 0.18.0) with the same result
Edit: My error was similar but not the same. I opened a new issue.
Any updates on this? I have the same issue!
Looks like the last working version to run edr report is v0.16.1
elementary-data[trino]==0.16.1
dbt-core>=1.10,<1.11
dbt-trino>=1.9,<1.10
Does any one have solution to workaround ? I have tried the elementary-data[trino]==0.16.1 but the issue still happen
Looks like the last working version to run
edr reportis v0.16.1elementary-data[trino]==0.16.1 dbt-core>=1.10,<1.11 dbt-trino>=1.9,<1.10
It work's for me thanks @mattiamatrix
This should fix https://github.com/starburstdata/dbt-trino/pull/499