GoogleCloudPlatform/training-data-analyst

BigQuery error on `python.BQ_explore_data.ipynb` notebook.

magnusbarata opened this issue · 0 comments

Executing the cell below on this notebook 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 issue.
I will create a PR fixing this issue.