Closed
Description
In the 2.0.0 version of google-cloud-bigquery-storage, they dropped the bigquery_storage_v1beta1 module for just bigquery_storage. This causes the following line to fail importing with google-cloud-bigquery-storage>=2.0.0.
Later, when trying to use the storage api, the following error is thrown since the module was unable to be imported.
ImportError: Install the google-cloud-bigquery-storage and fastavro/pyarrow packages to use the BigQuery Storage API.
Dropped bigquery_storage_v1beta1 module:
(env) abrown:~$ pip list | grep google-cloud-bigquery-storage
google-cloud-bigquery-storage 2.0.0
(env) abrown:~$ python
Python 3.7.9 (default, Aug 27 2020, 21:59:41)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-9)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from google.cloud import bigquery_storage_v1beta1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'bigquery_storage_v1beta1' from 'google.cloud' (unknown location)
>>> from google.cloud import bigquery_storage
>>>