googleapis / googleapis/google-cloud-python

ENH: make use_bqstorage_api True by default

Offen
#14,495 5 Kommentare 4 Reaktionen 1 zugewiesene Person Beansprucht von @tswast Auf GitHub ansehen
api: bigquery type: feature request
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.