[
https://issues.apache.org/jira/browse/AIRFLOW-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787928#comment-16787928
]
Ash Berlin-Taylor commented on AIRFLOW-4044:
--------------------------------------------
The docs you have linked to is for the realsed version, 1.10.2, but the code
you have linked to is from master
https://github.com/apache/airflow/blob/1.10.2/airflow/contrib/hooks/bigquery_hook.py#L575-L577
> 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
>
> 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/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)