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

Tao Feng resolved AIRFLOW-4044.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.3

> The documentation of `query_params` in `BigQueryOperator` is wrong
> ------------------------------------------------------------------
>
>                 Key: AIRFLOW-4044
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4044
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.10.2
>            Reporter: Hengfeng Li
>            Priority: Minor
>             Fix For: 1.10.3
>
>
> Currently, the doc 
> ([https://airflow.apache.org/code.html?highlight=query_params]) says: 
>  * *query_params* (_dict_) - a dictionary containing query parameter types 
> and values, passed to BigQuery. 
> However, in BigQueryBaseCursor 
> ([https://github.com/apache/airflow/blob/1.10.2/airflow/contrib/hooks/bigquery_hook.py#L575-L577]
>  
> [),|https://github.com/apache/airflow/blob/0c797a830e3370bd6e39f5fcfc128a8fd776912e/airflow/contrib/hooks/bigquery_hook.py#L694-L696),]
>  the doc indicates that this parameter should be a list of `dict`. Also, it 
> is unclear how this `query_params` look like and no examples are available. 



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

Reply via email to