Skip to content

How to use bqstorage_api after it was changed to an optional dependency? #932

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

Closed
jlynchMicron opened this issue Dec 13, 2023 · 1 comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-sqlalchemy API. type: question Request for information or clarification. Not an issue.

Comments

@jlynchMicron
Copy link

Hi All,

Now that bqstorage is an optional dependency, how does one specify using it (other than installing the dependencies)? If you install "sqlalchemy-bigquery[bqstorage]", will all queries automatically be ran with the bqstorage API? From browsing around the code, my guess is no and this issue (googleapis/python-bigquery#757) mentions it now possibly being a no-op.

At this point, is bqstorage support completely dropped from sqlalchemy-bigquery?

Related issue: #743

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-sqlalchemy API. label Dec 13, 2023
@Linchin Linchin added the type: question Request for information or clarification. Not an issue. label Dec 13, 2023
@Linchin
Copy link
Contributor

Linchin commented Dec 13, 2023

Hi @jlynchMicron, thank you for your question :)

bqstorage remains an extra of sqlalchemy-bigquery, as is listed in the setup.py file. #757 seems to be outdated now. Thus, if you run pip install sqlalchemy-bigquery[bqstorage], you will have the bqstorage extras installed (including both google-cloud-bigquery-storage and pyarrow, along with some other packages).

However, please note that extras installation is not yet supported by conda or mamba, so if you are using these tools to install bqstorage extra, you will get a no-op.

I will close this issue for now, but feel free to comment on the thread if you have any question!

@Linchin Linchin closed this as completed Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-sqlalchemy API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants