This page provides an overview of all GoogleSQL for BigQuery data types, including information about their value domains. For information on data type literals and constructors, see Lexical Structure and Syntax. Data type list Name Summary
Stay organized with collections Save and categorize content based on your preferences. This page provides an overview of all GoogleSQL for BigQuery data types, including information about their value domains. For information on data type literals and constructors, see Lexical Structure and Syntax. Data type list Name Summary
フィードバックを送信 以前のストリーミング API を使用する コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。 このドキュメントでは、以前の tabledata.insertAll メソッドを使用して BigQuery にデータをストリーミングする方法について説明します。 新しいプロジェクトでは、tabledata.insertAll メソッドの代わりに BigQuery Storage Write API を使用することをおすすめします。Storage Write API は、1 回限りの配信セマンティクスなど、低価格でより堅牢な機能を備えています。既存のプロジェクトを tabledata.insertAll メソッドから Storage Write API に移行する場合は、デフォルト ストリームを選択することをおすすめします。tabledata.in
Stay organized with collections Save and categorize content based on your preferences. A data platform for customers to create, manage, share and query data. REST Resource: v2.datasets REST Resource: v2.jobs REST Resource: v2.models REST Resource: v2.projects REST Resource: v2.routines REST Resource: v2.rowAccessPolicies REST Resource: v2.tabledata REST Resource: v2.tables Service: bigquery.google
エラー メッセージ このドキュメントでは、BigQuery の使用中に表示される可能性のあるエラー メッセージについて、HTTP エラーコードや推奨されるトラブルシューティングの手順も含めて説明します。 クエリエラーの詳細については、クエリに関する問題のトラブルシューティングをご覧ください。 ストリーミング挿入エラーの詳細については、ストリーミング挿入のトラブルシューティングをご覧ください。 エラーの表 BigQuery API からのレスポンスでは、レスポンス本文内に HTTP エラーコードとエラー オブジェクトが含まれます。通常、エラー オブジェクトは次のいずれかになります。 errors オブジェクト。これには、ErrorProto オブジェクトの配列が含まれます。 errorResults オブジェクト。これには、単一の ErrorProto オブジェクトが含まれます。 次の表の「
Send feedback Stay organized with collections Save and categorize content based on your preferences. Export table data to Cloud Storage This page describes how to export or extract data from BigQuery tables to Cloud Storage. After you've loaded your data into BigQuery, you can export the data in several formats. BigQuery can export up to 1 GB of logical data size to a single file. If you are expor
BigQuery の一般公開データセット 一般公開データセットは、BigQuery に保存され、Google Cloud 一般公開データセット プログラムを通じて一般提供されているデータセットです。この一般公開データセットは BigQuery でホストされ、ユーザーがアクセスして独自のアプリケーションに統合できます。Google はこうしたデータセットの保存費用を負担し、プロジェクトを使用してデータを一般提供しています。データで実行したクエリにのみ料金が発生します。毎月 1 TB まで無料です。クエリの料金の詳細をご覧ください。 レガシー SQL や GoogleSQL クエリを使用して分析できる一般公開データセットが用意されています。一般公開データセットをクエリする場合は、bigquery-public-data.bbc_news.fulltext などの完全修飾テーブル名を使用します。
フィードバックを送信 コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。 テーブルの作成と使用 このドキュメントでは、BigQuery で標準(組み込み)テーブルを作成して使用する方法について説明します。他のタイプのテーブルを作成する方法については、以下をご覧ください。 パーティション分割テーブルの作成 クラスタ化テーブルの作成と使用 テーブルを作成した後は、次の操作を行うことができます。 テーブルデータへのアクセスを制御する。 テーブルに関する情報を取得する。 データセット内のテーブルを一覧表示する。 テーブルのメタデータを取得する。 テーブルのプロパティの更新、テーブルのコピー、テーブルの削除などのテーブルの管理の詳細については、テーブルの管理をご覧ください。 始める前に このドキュメントの各タスクを実行するために必要な権限をユーザーに与える Identi
レガシー SQL でのテーブル デコレータ 通常、BigQuery はクエリの実行時に行のフルスキャンを行います。レガシー SQL でテーブル デコレータを使用すると、より効率的にデータの一部に対してクエリを実行できます。テーブル デコレータは、テーブルのコピー、テーブルのエクスポート、tabledata.list によるデータの一覧取得など、テーブルを読み取るときに使用できます。 テーブル デコレータでは <time> の相対値と絶対値を使用できます。相対値は負の数値、絶対値は正の数値で指定します。たとえば、-3600000 は現在の時刻より 1 時間前をミリ秒で表しており、3600000 は 1970 年 1 月 1 日から 1 時間後をミリ秒で表しています。 時間デコレータ 時間デコレータ(旧称スナップショット デコレータ)は、特定の時点のテーブルの履歴データを参照します。 構文 @
bq ツールを使用してデータを読み込み、クエリを実行する bq コマンドライン ツールを使用してデータセットを作成する方法、サンプルデータを読み込む方法、テーブルに対してクエリを実行する方法を学習します。 このタスクを Google Cloud コンソールで直接行う際の順を追ったガイダンスについては、「ガイドを表示」をクリックしてください。 ガイドを表示 始める前に Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and depl
データの読み込みの概要 このドキュメントでは、BigQuery にデータを読み込む方法について説明します。データ統合の一般的なアプローチは、データの抽出、読み込み、変換(ELT)と、データの抽出、変換、読み込み(ETL)の 2 つです。 ELT と ETL のアプローチの概要については、データの読み込み、変換、エクスポートの概要をご覧ください。 外部データの読み込み方法またはアクセス方法 BigQuery ページの [データを追加] ダイアログでは、BigQuery にデータを読み込んだり、BigQuery からデータにアクセスしたりするために使用できるすべての方法を確認できます。ユースケースとデータソースに基づいて、次のいずれかのオプションを選択します。 この方法は、さまざまなソースから大量のデータをバッチで読み込む場合に適しています。 Cloud Storage やその他のサポートされ
可変長文字バイナリデータ。 インポートされた BYTES データは、BigQuery が読み取って変換できる Avro BYTES データを除き、base64 エンコードされている必要があります。 BigQuery テーブルから読み取られた BYTES データは、Avro の bytes データ型が適用される Avro 形式にエクスポートするのでない限り、base64 エンコードされます。 64 ビット符号付き整数。 BigQuery API を使用して [-253+1, 253-1] の範囲外の整数(ほとんどの場合 9,007,199,254,740,991 を超える数)を整数型(INT64)の列に読み込む場合は、データの破損を避けるため、文字列として渡す必要があります。この問題は、JSON/ECMAScript の整数のサイズ制限が原因で発生します。詳細については、RFC 7159 の
Stay organized with collections Save and categorize content based on your preferences. Legacy SQL data types This document details the data types supported by BigQuery's legacy SQL query syntax. The preferred query syntax for BigQuery is GoogleSQL. For information on data types in GoogleSQL, see the GoogleSQL data types. Legacy SQL data types Your data can include the following data types: Data ty
ユーザー定義の関数 ユーザー定義関数(UDF)を使用すると、SQL 式または JavaScript コードを使用して関数を作成できます。UDF は入力列を受け取って入力に対するアクションを実行し、それらのアクションの結果を値として返します。 UDF は永続的または一時的として定義できます。永続的な UDF は複数のクエリで再利用できるのに対し、一時的な UDF は 1 つのクエリのスコープ内にのみ存在します。 UDF を作成するには、CREATE FUNCTION ステートメントを使用します。永続的なユーザー定義関数を削除するには、DROP FUNCTION ステートメントを使用します。一時的な UDF は、クエリが終了するとすぐに期限切れになります。DROP FUNCTION ステートメントは、マルチステートメント クエリとプロシージャ内の一時的な UDF によってのみサポートされます。
Stay organized with collections Save and categorize content based on your preferences. Query multiple tables using a wildcard table Wildcard tables enable you to query multiple tables using concise SQL statements. Wildcard tables are available only in GoogleSQL. For equivalent functionality in legacy SQL, see Table wildcard functions. A wildcard table represents a union of all the tables that matc
Stay organized with collections Save and categorize content based on your preferences. Create and use tables This document describes how to create and use standard (built-in) tables in BigQuery. For information about creating other table types, see the following: Creating partitioned tables Creating and using clustered tables After creating a table, you can do the following: Control access to your
Stay organized with collections Save and categorize content based on your preferences. Create saved queries When you write SQL in the query editor, you can save your query and share your query with others. Saved queries are BigQuery Studio code assets powered by Dataform. For more information on deleting saved queries and managing saved query history, see Manage saved queries. Required permissions
Stay organized with collections Save and categorize content based on your preferences. Data manipulation language (DML) statements in GoogleSQL The BigQuery data manipulation language (DML) enables you to update, insert, and delete data from your BigQuery tables. For information about how to use DML statements, see Transform data with data manipulation language and Update partitioned table data us
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く