googleapis / googleapis/google-cloud-python

ENH: make use_bqstorage_api True by default

Abierto
#14,495 5 comentarios 4 reacciones 1 asignado Reclamado por @tswast Ver en GitHub
api: bigquery type: feature request
Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
122

Descripción

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.)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.