googleapis / googleapis/google-cloud-python
ENH: make use_bqstorage_api True by default
- Langage dominant
- Python
- Étoiles
- 5.4k
- Forks
- 1.8k
- Merge moyen
- 3 j 4 h
- PR mergées (30 j)
- 122
Description
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.)
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.