You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Giovanni Lanzani (JIRA)" <ji...@apache.org> on 2017/04/26 15:22:04 UTC

[jira] [Created] (AIRFLOW-1151) Fix scripts execution in SparkSql hook

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)