airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-877) GoogleCloudStorageDownloadOperator: template_ext causes TemplateNotFound Error
Date Tue, 14 Feb 2017 22:59:41 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866885#comment-15866885
] 

ASF subversion and git services commented on AIRFLOW-877:
---------------------------------------------------------

Commit debc69e2787542cd56ab28b6c48db01c65ad05c4 in incubator-airflow's branch refs/heads/master
from [~sarfarazsoomro@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=debc69e ]

[AIRFLOW-877] Remove .sql template extension from GCS download operator

Prior to this patch, if you use a templated file with a .sql extension,
and it's templated, you'd receive an exception because Airflow would try
and load the file (that hasn't yet been downloaded) to template it. This
patch fixes that.

Closes #2083 from
sarfarazsoomro/sas/fix_gcs_download_op


> GoogleCloudStorageDownloadOperator: template_ext causes TemplateNotFound Error
> ------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-877
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-877
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: Airflow 1.8
>            Reporter: Sarfaraz Soomro
>            Assignee: Sarfaraz Soomro
>            Priority: Critical
>             Fix For: 1.9.0
>
>
> Since a file is to be downloaded by this operator, having .sql in template_ext results
in TemplateNotFound exception to be thrown (since the file doesn't exist). The solution is
to remove .sql template file extension.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message