Giovanni Lanzani created AIRFLOW-1151:
-----------------------------------------
Summary: 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: Airflow 1.8
Reporter: Giovanni Lanzani
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
(v6.3.15#6346)