[
https://issues.apache.org/jira/browse/AIRFLOW-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763456#comment-16763456
]
ASF subversion and git services commented on AIRFLOW-3547:
----------------------------------------------------------
Commit f2fe587f59a082bde0e6059bc708a99cd4d5d442 in airflow's branch
refs/heads/master from Mathew Wicks
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=f2fe587 ]
[AIRFLOW-3547] Fixed Jinja templating in SparkSubmitOperator (#4347)
* [AIRFLOW-3547] Fixed Jinja templating in SparkSubmitOperator
This is a minor change to allow Jinja templating in parameters where it
makes sense for SparkSubmitOperator.
* [AIRFLOW-3547] Fixed Jinja templating in SparkSubmitOperator
This is a minor change to allow Jinja templating in parameters where it
makes sense for SparkSubmitOperator.
> Jinja templating is not enabled for some SparkSubmitOperator parameters.
> ------------------------------------------------------------------------
>
> Key: AIRFLOW-3547
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3547
> Project: Apache Airflow
> Issue Type: Improvement
> Components: contrib
> Affects Versions: 1.10.1
> Reporter: Mathew Wicks
> Assignee: Mathew Wicks
> Priority: Minor
>
> SparkSubmitOperator currently only supports Jinja templating in its 'name',
> 'application_args' and 'packages' parameters, this is problematic as a user
> might want to do something like:
> {code:python}
> application="{{ dag.folder }}/spark_code.py"
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)