Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
caldeirav opened this issue Sep 15, 2024 · 0 comments

Comments

@caldeirav
Copy link
Collaborator

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant