[ 
https://issues.apache.org/jira/browse/AIRFLOW-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784935#comment-16784935
 ] 

ASF subversion and git services commented on AIRFLOW-3547:
----------------------------------------------------------

Commit 09f7a89453b6a567290048f0115f50510c8c5f56 in airflow's branch 
refs/heads/v1-10-stable from Mathew Wicks
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=09f7a89 ]

[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
>             Fix For: 2.0.0, 1.10.3
>
>
> 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)

Reply via email to