You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
The above exception was the direct cause of the following exception:
ipython = <IPython.terminal.interactiveshell.TerminalInteractiveShell object at 0x7f15efda1828>
def test_jupyter_tutorial(ipython):
ip = IPython.get_ipython()
ip.extension_manager.load_extension("google.cloud.bigquery")
# This code sample intentionally queries a lot of data to demonstrate the
# speed-up of using the BigQuery Storage API to download the results.
sample = """
# [START bigquerystorage_jupyter_tutorial_query]
%%bigquery tax_forms --use_bqstorage_api
SELECT * FROM `bigquery-public-data.irs_990.irs_990_2012`
# [END bigquerystorage_jupyter_tutorial_query]
"""
result = ip.run_cell(_strip_region_tags(sample))
result.raise_error() # Throws an exception if the cell failed.
jupyter_test.py:91:
.nox/py-3-6/lib/python3.6/site-packages/IPython/core/interactiveshell.py:331: in raise_error
raise self.error_in_exec
.nox/py-3-6/lib/python3.6/site-packages/IPython/core/interactiveshell.py:3319: in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
:1: in
get_ipython().run_cell_magic('bigquery', 'tax_forms --use_bqstorage_api', 'SELECT * FROM bigquery-public-data.irs_990.irs_990_2012\n\n')
.nox/py-3-6/lib/python3.6/site-packages/IPython/core/interactiveshell.py:2352: in run_cell_magic
result = fn(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/cloud/bigquery/magics.py:506: in _cell_magic
args.use_bqstorage_api or context.use_bqstorage_api, context.credentials
.nox/py-3-6/lib/python3.6/site-packages/google/cloud/bigquery/magics.py:612: in _make_bqstorage_client
six.raise_from(customized_error, err)
value = None
from_value = ImportError("cannot import name 'bigquery_storage_v1beta1'",)
???
E ImportError: Install the google-cloud-bigquery-storage and pyarrow packages to use the BigQuery Storage API.
This test failed!
To configure my behavior, see the Build Cop Bot documentation.
If I'm commenting on this issue too often, add the
buildcop: quietlabel andI will stop commenting.
commit: 6254bf2
buildURL: Build Status, Sponge
status: failed
Test output