python-bigquery-pandas
python-bigquery-pandas copied to clipboard
ENH: make use_bqstorage_api True by default
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 #195, I propose we complete this work in two phases:
- [ ] Add
use_bqstorage_api
to the global context object with a value ofFalse
. It is overridable by settingpandas_gbq.context.use_bqstorage_api = True
. If the default value ofuse_bqstorage_api=None
is passed intoread_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 downNone
foruse_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.)
Any news on when this will be implemented?
Nothing blocking it, now that the API is GA. We probably want to use the create_bqstorage_client
parameter in the to_dataframe method for future compatibility.
This is long overdue. Bumping the priority on this.