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
Hello, I am running dbt with dbt_external_tables package under Composer (v2.4.3). When I am passing arguments to my class to build DBT command like: dbt run-operation stage_external_sources --args 'select: external_sources.abc_full' --target dev --profile abc_seg
this command gives me an error: [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - �[0m12:06:53 The YAML provided in the --args argument is not valid. [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - Usage: dbt run-operation [OPTIONS] MACRO [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - Try 'dbt run-operation -h' for help. [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - Error: Invalid value for '--args': String ''select:' is not valid YAML
I was trying to use curly braces like: --args '{select: external_sources.abc_full}' but it is not resolving an issue. When I am running this command without "--args" just pure macro stage_external_sources it is working perfectly even under Composer.
How I can resolve issue with this?
The text was updated successfully, but these errors were encountered:
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Hello, I am running dbt with dbt_external_tables package under Composer (v2.4.3). When I am passing arguments to my class to build DBT command like:
dbt run-operation stage_external_sources --args 'select: external_sources.abc_full' --target dev --profile abc_seg
this command gives me an error:
[2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - �[0m12:06:53 The YAML provided in the --args argument is not valid. [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - Usage: dbt run-operation [OPTIONS] MACRO [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - Try 'dbt run-operation -h' for help. [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - [2024-04-11, 12:06:53 UTC] {pod_manager.py:382} INFO - Error: Invalid value for '--args': String ''select:' is not valid YAML
I was trying to use curly braces like: --args '{select: external_sources.abc_full}' but it is not resolving an issue. When I am running this command without "--args" just pure macro stage_external_sources it is working perfectly even under Composer.
How I can resolve issue with this?
The text was updated successfully, but these errors were encountered: