一時テーブルを使用してスプレッドシートにクエリを実行する
bookmark_borderbookmark
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
一時テーブルを作成して、Google スプレッドシート ファイルのデータをクエリします。
もっと見る
このコードサンプルを含む詳細なドキュメントについては、以下をご覧ください。
コードサンプル
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],[],[[["This content demonstrates how to query data from a Google Sheets file by creating a temporary external table within BigQuery, using both Java and Python."],["The code samples require setting up Application Default Credentials for authentication and include enabling both the BigQuery and Google Drive APIs."],["The temporary table is defined using an external configuration pointing to a Google Sheets URL, along with a defined schema and optional parameters such as skipping header rows and specifying a range."],["Example queries, such as selecting data where the name starts with 'W', are executed against this temporary table, showcasing the process of filtering data from the sheet."],["The code provided in both Python and Java has been tested to show how to query the external Google Sheets file data, as well as how to set up the code so the query is successful."]]],[]]