[
https://issues.apache.org/jira/browse/AIRFLOW-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16725598#comment-16725598
]
ASF GitHub Bot commented on AIRFLOW-3547:
-----------------------------------------
thesuperzapper opened a new pull request #4347: [AIRFLOW-3547] Fixed Jinja
templating in SparkSubmitOperator
URL: https://github.com/apache/incubator-airflow/pull/4347
This is a minor change to allow Jinja templating in parameters where it
makes sense for SparkSubmitOperator.
----------------------------------------------------------------
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
> Assignee: Mathew
> 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)