[
https://issues.apache.org/jira/browse/AIRFLOW-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763454#comment-16763454
]
ASF GitHub Bot commented on AIRFLOW-3547:
-----------------------------------------
Fokko commented on pull request #4347: [AIRFLOW-3547] Fixed Jinja templating in
SparkSubmitOperator
URL: https://github.com/apache/airflow/pull/4347
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)