Skip to content

Exception raised while generating the observability report using the OSS version locally. #1886

Open
@julien-alpaca

Description

@julien-alpaca

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:

  1. Followed quickstart guide
  2. 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.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions