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

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

Commit 2bfee863ac04b4425fcecf9fa144b5005eafd4b0 in airflow's branch 
refs/heads/v1-10-test from Kaxil Naik
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=2bfee86 ]

[AIRFLOW-4233] Remove Template Extension from Bq to GCS Operator (#5456)

The issue happens when we have destination url ending with .sql.
It is related to the defined template extension template_ext = ('.sql',)

The operator looks for jinja template, however, it's an output path, so the
file is not found when looking for any jinja template syntax.

The BigQueryToCloudStorageOperator doesn't have sql parameter as it doesn't
work with queries at all. It takes only tables.

(cherry picked from commit 250131d66fd876521a4254d75a1a16954f5488a8)


> BigQueryToCloudStorageOperator with TemplateNotFound for filename ending with 
> .sql
> ----------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-4233
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4233
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: gcp
>            Reporter: Harris Chiu
>            Assignee: Kaxil Naik
>            Priority: Major
>             Fix For: 1.10.4
>
>
> The issue happens when we have destination url ending with .sql. 
> It is related to the defined template extension template_ext = ('.sql',)
> The operator looks for jinja template, however, it's an output path, so the 
> file is not found when looking for any jinja template syntax



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to