GoogleCloudPlatform / GoogleCloudPlatform/training-data-analyst
BigQuery error on `python.BQ_explore_data.ipynb` notebook.
- Dominant language
- Jupyter Notebook
- Stars
- 8.6k
- Forks
- 6.1k
- Avg merge
- 4h 44m
- Merged PRs (30d)
- 2
Description
Executing the cell below on [this notebook](https://github.com/GoogleCloudPlatform/training-data-analyst/blob/master/courses/machine_learning/deepdive2/launching_into_ml/solutions/python.BQ_explore_data.ipynb) gives an error.
```
%%bigquery
# SQL query to get a fields from dataset which prints the 10 records
SELECT
FORMAT_TIMESTAMP(
"%Y-%m-%d %H:%M:%S %Z", pickup_datetime) AS pickup_datetime,
pickup_longitude, pickup_latitude, dropoff_longitude,
dropoff_latitude, passenger_count, trip_distance, tolls_amount,
fare_amount, total_amount
# TODO 3
FROM
`nyc-tlc.yellow.trips`
LIMIT 10
```
The error:
```
ERROR:
_blocking_poll() got an unexpected keyword argument 'retry'
```
It seems to be a part of [an outdated version of `google-cloud-bigquery`](https://stackoverflow.com/questions/74673148/bigquery-client-using-python-timeout-and-polling-issues) issue.
I will create a PR fixing this issue.
Contributor guide
Assessment
This issue has not been assessed yet.