Skip to content

dbt ingestion fails with Unexpected exception parsing DBT node due to 'str' object has no attribute 'value' #48

@caldeirav

Description

@caldeirav

When configuring dbt ingestion on our trino service, the ingestion pipeline fails with the following exception:

[2024-09-15T08:33:44.274+0000] {taskinstance.py:1382} INFO - Executing <Task(CustomPythonOperator): dbt_task> on 2024-09-15 08:33:44+00:00
[2024-09-15T08:33:44.279+0000] {standard_task_runner.py:57} INFO - Started process 1009704 to run task
[2024-09-15T08:33:44.281+0000] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', '1e1a283a-4c90-4007-a78f-9ebdf9b96a16', 'dbt_task', 'manual__2024-09-15T08:33:44+00:00', '--job-id', '10339', '--raw', '--subdir', 'DAGS_FOLDER/1e1a283a-4c90-4007-a78f-9ebdf9b96a16.py', '--cfg-path', '/tmp/tmpf45azmup']
[2024-09-15T08:33:44.281+0000] {standard_task_runner.py:85} INFO - Job 10339: Subtask dbt_task
[2024-09-15T08:33:44.308+0000] {task_command.py:416} INFO - Running <TaskInstance: 1e1a283a-4c90-4007-a78f-9ebdf9b96a16.dbt_task manual__2024-09-15T08:33:44+00:00 [running]> on host airflow-674754c4fb-bfgjc
[2024-09-15T08:33:44.349+0000] {taskinstance.py:1662} INFO - Exporting env vars: AIRFLOW_CTX_DAG_OWNER='omd-admin' AIRFLOW_CTX_DAG_ID='1e1a283a-4c90-4007-a78f-9ebdf9b96a16' AIRFLOW_CTX_TASK_ID='dbt_task' AIRFLOW_CTX_EXECUTION_DATE='2024-09-15T08:33:44+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='manual__2024-09-15T08:33:44+00:00'
[2024-09-15T08:33:44.366+0000] {server_mixin.py:75} INFO - OpenMetadata client running with Server version [1.4.1] and Client version [1.4.1.0]
[2024-09-15T08:33:45.936+0000] {status.py:76} WARNING - Unexpected exception parsing DBT node due to 'str' object has no attribute 'value'

Configuration of the ingestion as follows:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions