-
Notifications
You must be signed in to change notification settings - Fork 139
feat: Remove pyarrow and bqstorage as dependencies #847
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
Conversation
Temporarily labeling with owlbot:ignore. Once we have worked out exactly how things should look, I will go back and edit the owlbot files and ensure that synthtool can properly create the noxfiles as desired. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This approach LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once you get owlbot sorted.
…on-bigquery-sqlalchemy into remove-pyarrow-bqstorage
@tswast I got owlbot to work and all the tests are passing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Removes
pyarrow
andbqstorage
as regular dependencies and moves them to the extras category where they can be installed, as needed (i.e. when the use ofpyarrow
and/orbqstorage
may provide performance benefits).As noted in Issue #743:
pyarrow
is an optional dependency ofgoogle-cloud-bigquery
, but it's made mandatory bypython-bigquery-sqlalchemy
.Because
pyarrow
is quite large on disk — 100 MB on x86_64 Linux — installing it when it is not used is inefficient and poses a burden on some installations in space constrained environments.This is not deemed a breaking change in that no existing functionality is being deprecated and existing users still have the ability to install
bqstorage
/pyarrow
as needed.NOTE: Users are likely to benefit from installing
bqstorage
when accessing query results in excess of 100 Mb ... these users may experience a speed increase up to 10x.Fixes #743 🦕
IF this PR is merged, we should be able to close the following adjacent/associated PR:
Closes #470