You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Sreenath Kamath (JIRA)" <ji...@apache.org> on 2018/04/21 15:34:00 UTC
[jira] [Commented] (AIRFLOW-2355) Airflow trigger tag parameters in
subdag
[ https://issues.apache.org/jira/browse/AIRFLOW-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446859#comment-16446859 ]
Sreenath Kamath commented on AIRFLOW-2355:
------------------------------------------
One workaround is to have a task in the main DAG that will push all the config values as an XCOM and then the sub dag tasks consume the config from there.
> Airflow trigger tag parameters in subdag
> ----------------------------------------
>
> Key: AIRFLOW-2355
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2355
> Project: Apache Airflow
> Issue Type: Bug
> Components: api
> Affects Versions: 1.9.0
> Reporter: Mohammed Tameem
> Priority: Blocker
> Fix For: 1.9.0
>
>
> The command airflow {color:#8eb021}+_trigger_dag -c "\{'name':'value'}"_+{color} sends conf parameters only to the parent DAG. I'm using SubDags that are dependent on these parameters. And no parameters are recieved by the SubDag.
> From source code of SubDag operator I see that there is no way of passing these trigger parameters to a Subdag.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)