[
https://issues.apache.org/jira/browse/AIRFLOW-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor closed AIRFLOW-1151.
--------------------------------------
Resolution: Duplicate
> Fix scripts execution in SparkSql hook
> ---------------------------------------
>
> Key: AIRFLOW-1151
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1151
> Project: Apache Airflow
> Issue Type: Bug
> Components: contrib
> Affects Versions: 1.8.0
> Reporter: Giovanni Lanzani
> Priority: Major
>
> When using the the SparkSqlOperator and submitting a file (ending with .sql
> or .hql), a whitespace need to be appended, otherwise a Jinja error will be
> raised. However the trailing whitespace confused the hook as those files will
> not end with .sql and .hql, but with .sql and .hql. This PR fixes this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)