Skip to content

Possible to use read_gbq() without bigquery.readsessions.create permissions? #340

Open
@chrisperks

Description

@chrisperks

Hi!

I'm using bigframes 0.19.2 and in particular, using pandas.read_gbq(..) to read an SQL statement to a Pandas DataFrame.

I don't have permissions to create a ReadSession on our BigQuery instance, so my query fails, reporting I don't have the relevant bigquery.readsessions.create permissions.

When using the regular BigQuery client, I can set the option create_bqstorage_client=False to get around this lack of permissions.

Can I use read_gbq in any similar way, or otherwise set options to remove the need for bigquery.readsessions.create permissions?

Thanks.
Chris.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery-dataframes 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