[
https://issues.apache.org/jira/browse/AIRFLOW-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788528#comment-16788528
]
ASF subversion and git services commented on AIRFLOW-4044:
----------------------------------------------------------
Commit 7116d9b484bc96d186591a68e658de0e19955b91 in airflow's branch
refs/heads/master from Hengfeng Li
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=7116d9b ]
[AIRFLOW-4044] The documentation of `query_params` in `BigQueryOperator` is
wrong. (#4876)
* Updated the documentation of `query_params` in BigQueryOperator.
* Removed trailing whitespaces.
> 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/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)