BigQuery in JupyterLab on Agent Platform 2.5 Rezensionen

20302 Rezensionen

Anand N. · Vor mehr als 3 Jahre überprüft

In the notebook, we need to install "google-cloud-bigquery-storage" using !pip install google-cloud-bigquery-storage

Rajesh S. · Vor mehr als 3 Jahre überprüft

Vignesh R. · Vor mehr als 3 Jahre überprüft

Arbaz R. · Vor mehr als 3 Jahre überprüft

Bhupendra V. · Vor mehr als 3 Jahre überprüft

Juan D. · Vor mehr als 3 Jahre überprüft

--------------------------------------------------------------------------- ImportError Traceback (most recent call last) /opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/magics/magics.py in _make_bqstorage_client(client, use_bqstorage_api, client_options) 709 try: --> 710 from google.cloud import bigquery_storage # noqa: F401 711 except ImportError as err: ImportError: cannot import name 'bigquery_storage' from 'google.cloud' (unknown location) The above exception was the direct cause of the following exception: ImportError Traceback (most recent call last) /tmp/ipykernel_3945/1327333500.py in <module> ----> 1 get_ipython().run_cell_magic('bigquery', 'df', 'SELECT\n depdelay as departure_delay,\n COUNT(1) AS num_flights,\n APPROX_QUANTILES(arrdelay, 10) AS arrival_delay_deciles\nFROM\n `cloud-training-demos.airline_ontime_data.flights`\nWHERE\n depdelay is not null\nGROUP BY\n depdelay\nHAVING\n num_flights > 100\nORDER BY\n depdelay ASC\n') /opt/conda/lib/python3.7/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell) 2471 with self.builtin_trap: 2472 args = (magic_arg_s, cell) -> 2473 result = fn(*args, **kwargs) 2474 return result 2475 /opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/magics/magics.py in _cell_magic(line, query) 579 580 bqstorage_client = _make_bqstorage_client( --> 581 client, use_bqstorage_api, bqstorage_client_options, 582 ) 583 /opt/conda/lib/python3.7/site-packages/google/cloud/bigquery/magics/magics.py in _make_bqstorage_client(client, use_bqstorage_api, client_options) 716 "the --use_rest_api magic option." 717 ) --> 718 raise customized_error from err 719 720 try: ImportError: The default BigQuery Storage API client cannot be used, install the missing google-cloud-bigquery-storage and pyarrow packages to use it. Alternatively, use the classic REST API by specifying the --use_rest_api magic option. ​

Wenjun L. · Vor mehr als 3 Jahre überprüft

Vasantha M. · Vor mehr als 3 Jahre überprüft

Arash Z. · Vor mehr als 3 Jahre überprüft

Vikram S. · Vor mehr als 3 Jahre überprüft

Jitesh V. · Vor mehr als 3 Jahre überprüft

Kyung H. · Vor mehr als 3 Jahre überprüft

Santhoshpriyan B. · Vor mehr als 3 Jahre überprüft

Badri M. · Vor mehr als 3 Jahre überprüft

Tejas W. · Vor mehr als 3 Jahre überprüft

Steven R. · Vor mehr als 3 Jahre überprüft

Manish J. · Vor mehr als 3 Jahre überprüft

Balchandra D. · Vor mehr als 3 Jahre überprüft

Chinmay J. · Vor mehr als 3 Jahre überprüft

data set not found ;(

David S. · Vor mehr als 3 Jahre überprüft

need to install google-cloud-storage

kevin w. · Vor mehr als 3 Jahre überprüft

Raul P. · Vor mehr als 3 Jahre überprüft

Canburak T. · Vor mehr als 3 Jahre überprüft

ALEJANDRO R. · Vor mehr als 3 Jahre überprüft

Gloria P. · Vor mehr als 3 Jahre überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.