googleapis / googleapis/google-cloud-python

ENH: make use_bqstorage_api True by default

未关闭
#14,495 5 条评论 4 个 reaction 已指派 1 人 已被 @tswast 认领 在 GitHub 查看
api: bigquery type: feature request
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

It’ll give people the best experience if the fast method is also the default method. Since this requires an additional API to be enabled, it’s technically a breaking change. Similar to how we handled the switch to standard SQL in googleapis/python-bigquery-pandas#195, I propose we complete this work in two phases:

- [ ] Add `use_bqstorage_api` to the global context object with a value of `False`. It is overridable by setting `pandas_gbq.context.use_bqstorage_api = True`. If the default value of `use_bqstorage_api=None` is passed into `read_gbq`, it uses the default value from the global context.
- [ ] Make a release with this new context value. (Make sure `pandas.read_gbq` also sends down `None` for `use_bqstorage_api` if not supplied.)
- [ ] Update default value in the global context to `True`. (Possibly after the BigQuery Storage API goes GA, though maybe sooner.)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。