Vertex AI 2.5 の JupyterLab で BigQuery を利用する のレビュー
20302 件のレビュー
Task 2. Execute a BigQuery query 3. Enter the following query in the second cell of the notebook: %%bigquery df SELECT depdelay as departure_delay, COUNT(1) AS num_flights, APPROX_QUANTILES(arrdelay, 10) AS arrival_delay_deciles FROM `cloud-training-demos.airline_ontime_data.flights` WHERE depdelay is not null GROUP BY depdelay HAVING num_flights > 100 ORDER BY depdelay ASC IMPORT ERROR: --------------------------------------------------------------------------- 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_7047/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. HELP PLEASE ?
Brawenec Manuel · 3年以上前にレビュー済み
Topolski Michał · 3年以上前にレビュー済み
K Gautham · 3年以上前にレビュー済み
Yaşin Barış · 3年以上前にレビュー済み
ai
Srivastava Ajay · 3年以上前にレビュー済み
Penington Will · 3年以上前にレビュー済み
point 3 in task 2 is not working
Alexandra Almeida Carvalho Catarina · 3年以上前にレビュー済み
saravanan varunsagar · 3年以上前にレビュー済み
fujita hiromitsu · 3年以上前にレビュー済み
fujita hiromitsu · 3年以上前にレビュー済み
Syson Teddy Clarence · 3年以上前にレビュー済み
Leonel Calvo Cacha Jhunior · 3年以上前にレビュー済み
Kühn Leonardo · 3年以上前にレビュー済み
Muzo Oyana Edison Marcelo · 3年以上前にレビュー済み
Beret Noelia · 3年以上前にレビュー済み
Hamid Muhammed Hamed · 3年以上前にレビュー済み
Error while running code in Notebook. Couldn't complete the lab. Please fix the errors.
Thipparthy Raghuram · 3年以上前にレビュー済み
Ravi Vignesh · 3年以上前にレビュー済み
touzari Lisa · 3年以上前にレビュー済み
touzari Lisa · 3年以上前にレビュー済み
Khandelwal Rishi · 3年以上前にレビュー済み
Lunat Ilyaas · 3年以上前にレビュー済み
I believe that we also need to install "!pip install google-cloud-bigquery-storage" in order to make cells work. Please modify the instrunctions.
shi jingren · 3年以上前にレビュー済み
Ganeshkumar Dhanapal · 3年以上前にレビュー済み
gr8
Narayanan Anand · 3年以上前にレビュー済み
公開されたレビューが、製品を購入または使用した人によるものであることは保証されません。Google はこれらのレビューの検証を行っていません。