Skip to content

ENH: make use_bqstorage_api True by default #293

Open
@tswast

Description

@tswast

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions