-
Notifications
You must be signed in to change notification settings - Fork 306
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
BigQuery: TypeError: from_arrays() takes at least 2 positional arguments (1 given) #49
Comments
@georghildebrand Yes, you are right it's just because of older version of pyarrow . You need to install updated version of pyarrow , minimum required version is 0.15.0 for |
@HemangChothani That would make sense. Is pyarrow 1.15.0 the first version that works fine? Does everything work in 1.16.0, too? Asking because 1.16.0 is the first version compatible with Python 3.8 and there is already a PR that will declare full Python 3.8 support. If you can, please check if your findings are consistent with mine, and that pyarrow should actually be bumped to 1.16.0, thanks! |
@HemangChothani , thank you. i confirm upgrading pyarrow is solving the issue! +1 for updating the dependency in the setup. |
@plamut Hmm, |
Had the same issue with: Downgrading pyarrow to 1.0.1 solved it for me. |
Hi all, i tried bq client in python with the default example. Since i moved from 1.23.1 to 1.24.0 last week i get the following issue.
Its related to pyarrow but i was not upgrading pyarrow (worked with it before)
Environment details
Python 3.7.6
bigquery.version '1.24.0'
pyarrow.version '0.11.1'
Linux jupyter-generic 4.15.0-1057-aws Start tagging for release versions. google-cloud-python#59-Ubuntu SMP Wed Dec 4 10:02:00 UTC 2019 x86_64
x86_64 x86_64 GNU/Linux
Name: google-cloud-bigquery
Version: 1.24.0
Summary: Google BigQuery API client library
Location: /opt/conda/lib/python3.7/site-packages
Requires: google-cloud-core, google-auth, six, google-resumable-media, protobuf, google-api-core
Required-by: pandas-gbq
Steps to reproduce
just running a default example form the webhttps://cloud.google.com/bigquery/docs/bigquery-storage-python-pandas
Stack trace
The text was updated successfully, but these errors were encountered: