Run time configuration JSON not working when triggering the DAG manually #23718
Unanswered
mytreyireddy
asked this question in
General
Replies: 1 comment 5 replies
-
What do you mean by "not working"? Hard to read what's in your mind, but a description of what happens, what logs are generated, what runs and what does not would be helpful - try to help others to help you. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, Could anyone please help me with the below issue?
Created a model in DBT that has one SQL file such as
DBT-> Models->products.sql
select * FROM products {% if is_incremental() %} WHERE partition_date >= 9 {% endif %}
Configured DBT through airflow and I want to pass the runtime parameters that would override the DBT commands in the airflow task.
But when I pass in arguments in the airflow UI : These commands are not being executed.
{"dbt_command": ["dbt", "run", "--select", "products", "--full-refresh", "--target", "stage"]}
Could anyone give me inputs on this? When I trigger the DAG , without passing any JSON configuration , the incremental_cmds are executed and its working. But when I pass the JSON configuration with full-refresh DBT commands, its not working.
Beta Was this translation helpful? Give feedback.
All reactions