-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a way to override requested scopes #38
Comments
Well, it's not Pandas-GoogleBigQuery package then anymore. Bigtable API has very different schema, and for drive I cannot see any general use case for getting data to a pandas DF. |
@mremes You can query those data sources using the BigQuery API, you just need to create an external data source in BigQuery and have the right scopes. |
Yup, sorry my bad! :) |
Hi. I'm having this same issue. I'e created an external bq data source that links to a google sheet. But reading it in with pd.read_gbq gives "BigQuery BigQuery: No OAuth token with Google Drive scope was found." |
Pandas-GBQ does not yet support scopes other than BigQuery. If someone were to work on this feature request, there are several ways credentials can be fetched, so there are several places to update.
|
Additional scopes are required when using BigQuery to access external data sources such as Google Drive or Bigtable.
It looks like the
GbqConnector
class currently only uses thehttps://www.googleapis.com/auth/bigquery
scope and does not override the scopes in the constructor.The text was updated successfully, but these errors were encountered: