You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Bolke de Bruin (JIRA)" <ji...@apache.org> on 2017/05/12 09:40:04 UTC

[jira] [Resolved] (AIRFLOW-1150) Fix scripts execution in SparkSql hook

     [ https://issues.apache.org/jira/browse/AIRFLOW-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bolke de Bruin resolved AIRFLOW-1150.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.2

Issue resolved by pull request #2259
[https://github.com/apache/incubator-airflow/pull/2259]

> Fix scripts execution in SparkSql hook 
> ---------------------------------------
>
>                 Key: AIRFLOW-1150
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1150
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: Airflow 1.8
>            Reporter: Giovanni Lanzani
>             Fix For: 1.8.2
>
>
> 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)