googleapis / googleapis/google-cloud-python

ENH: make use_bqstorage_api True by default

Aperta
#14,495 5 commenti 4 reazioni 1 assegnatario Rivendicata da @tswast Vedi su GitHub
api: bigquery type: feature request
Lingua principale
Python
Stelle
5.4k
Fork
1.8k
Merge medio
3g 4h
PR unite (30g)
122

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.