You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/09/17 19:15:00 UTC

[jira] [Assigned] (AIRFLOW-3075) bql deprecated field isn't deprecated - BigQueryOperator

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

Kaxil Naik reassigned AIRFLOW-3075:
-----------------------------------

    Assignee: Kaxil Naik

> bql deprecated field isn't deprecated - BigQueryOperator
> --------------------------------------------------------
>
>                 Key: AIRFLOW-3075
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3075
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: jack
>            Assignee: Kaxil Naik
>            Priority: Critical
>
> docs says:
> [http://airflow.incubator.apache.org/integration.html?highlight=bigquery#bigquerytobigqueryoperator]
>  * *bql* (_Can receive a str representing a sql statement__,_ _a list of str_ _(__sql statements__)__, or__reference to a template file. Template reference are recognized by str ending in '.sql'._) – (Deprecated. Use ??sql?? parameter instead) the sql code to be executed (templated)
>  * *sql* (_Can receive a str representing a sql statement__,_ _a list of str_ _(__sql statements__)__, or__reference to a template file. Template reference are recognized by str ending in '.sql'._) – the sql code to be executed (templated)
>  
> When created a operator with *sql* and adding the new DAG the UI shows:
> Broken DAG: [/home/ubuntu/airflow/dags/my_dag.py] Argument ['bql'] is required
>  
> The DAG can not run.
> only when changing the sql to bql the error is gone and the DAG can run.
> I'm using 1.9.0
>  
> This is weird because I must use the deprecated bql and not the new sql argument.
>  
>  
>  



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