{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Amazon S3 Parquet Import Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"amazon-s3-parquet-import-integration","__idx":0},"children":["Amazon S3 Parquet Import Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amazon S3のインポートデータコネクタにより、S3バケットに保存されているParquetファイルからデータをインポートできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amazon-s3-parquetの認証方法について","__idx":1},"children":["Amazon S3 Parquetの認証方法について"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"認証方法"},"children":["認証方法"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Amazon S3 parquet"},"children":["Amazon S3 parquet"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["basic"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["x"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["session"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["x"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["assume_role"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["x"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["前提条件"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataに関する基本的な知識。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"s3-bucket-policy-設定","__idx":2},"children":["S3 Bucket Policy 設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TD リージョンと同じリージョンにある AWS S3 バケットを使用している場合、TD がバケットにアクセスする IP アドレスはプライベートで動的に変化します。アクセスを制限したい場合は、静的 IP アドレスではなく VPC の ID を指定してください。例えば、US リージョンの場合は vpc-df7066ba 経由でアクセスを設定し、Tokyo リージョンの場合は vpc-e630c182 経由、EU01 リージョンの場合は vpc-f54e6a9e 経由でアクセスを設定してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソール にログインする URL から Treasure コンソール のリージョンを確認し、URL 内のリージョンのデータコネクターを参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/ip-addresses-integrations-result-workers#s3-bucket-policy-configuration-for-export-and-import-integrations"},"children":["API ドキュメント"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-data-integration-の静的-ip-アドレス","__idx":3},"children":["Treasure Data Integration の静的 IP アドレス"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティポリシーで IP ホワイトリストが必要な場合は、接続を成功させるために Treasure Data の IP アドレスを許可リストに追加する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リージョンごとに整理された静的 IP アドレスの完全なリストは、次のリンクにあります:"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/ip-addresses-integrations-result-workers"},"children":["IP Addresses for Integrations"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限事項","__idx":4},"children":["制限事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataでは、最適なパフォーマンスを得るために、個々のparquetファイルのサイズを100 MB以下に制限することを推奨しています。ただし、これは厳密な要件ではなく、ニーズに合わせてパーティションサイズを調整できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールでの新しい接続の作成","__idx":5},"children":["Treasure コンソールでの新しい接続の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールを使用してデータコネクタを作成できます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure コンソール"]},"を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["S3 parquet"]},"を検索し、Amazon S3 parquetを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["New Authenticationダイアログが開きます。選択した認証方法によって、ダイアログは次のような画面になります:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["basic"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2023-03-28-at-14.24.47.f5f2bda6b9db5d192cb911d7d4ec0aca1299fe948d93cf2369056288b991aeab.e7823387.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["session"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2023-03-28-at-14.26.21.c0ba3d29ae2f0819045e766b368619f4ada83cfe886b516e6681b4cd40fe6557.e7823387.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["assume_role"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2023-03-28-at-14.26.29.f3cd34a591e47b6970307ef270d5c4e0b0dc881229742d5851e7dc8e3e6c1637.e7823387.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["認証フィールドを設定し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3サービスエンドポイントのオーバーライド。リージョンとエンドポイント情報は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region"},"children":["AWS service endpoints"]},"で確認できます。(例: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://s3.ap-northeast-1.amazonaws.com/"},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["s3.ap-northeast-1.amazonaws.com"]}]},") 指定すると、リージョン設定を上書きします。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["リージョン"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWSリージョン"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["認証方式"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["basic"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["access_key_idとsecret_access_keyを使用して認証します。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html"},"children":["AWSプログラマティックアクセス"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アクセスキーID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["シークレットアクセスキー"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["session (推奨)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["一時的に生成されたaccess_key_id、secret_access_key、およびsession_tokenを使用します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アクセスキーID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["シークレットアクセスキー"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["セッショントークン"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["assume_role"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ロールアクセスを使用します。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html"},"children":["AWS AssumeRole"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["TDのインスタンスプロファイル"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アカウントID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["お客様のロール名"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["外部ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["有効期間（秒）"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["anonymous"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされていません"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["アクセスキーID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS S3が発行"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["シークレットアクセスキー"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS S3が発行"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["セッショントークン"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["お客様の一時的なAWSセッショントークン"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TDのインスタンスプロファイル"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["この値はTreasure コンソールによって提供されます。値の数値部分は、IAMロールを作成する際に使用するアカウントIDを構成します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS Account ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Your Role Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS Role 名"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["シークレット External ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Duration"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["一時的な認証情報の有効期間"]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["新しい AWS S3 接続に名前を付け、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"assume_role-認証方式による認証の作成","__idx":6},"children":["assume_role 認証方式による認証の作成"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["assume_role 認証方式で新しい認証を作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["TD's Instance Profile フィールドの値の数値部分をメモしておきます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/4f8559a3-4f70-4c83-b8b9-adaaec64662f_1_201_a.1331328bd097ab94743fc3d5f53d63f8cbc98ad689475b3adc5b21335a2e22e3.e7823387.jpeg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AWS IAM role を作成します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/ea9e1f37-be45-4ac6-97fa-4b46f65b0388_1_201_a.99af6c7efd4bcd9e50a04d5457e1febf3da2f104b7a090d9bcc307dc3dc8d8c3.e7823387.jpeg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/45c6048c-cc9e-40c1-b0f4-529e356d6e16_1_201_a.bb869c9c9ad66cdecbebc9b2b1231acd5f24c98517c6bc2cfb6ec67efcd884ef.e7823387.jpeg","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"aws-s3-データを-treasure-data-に転送する","__idx":7},"children":["AWS S3 データを Treasure Data に転送する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証済み接続を作成すると、認証画面が表示されます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["作成した接続を検索します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/s3parquetsources.e500d5384ff42a004cc3018561ba7bdd846b87a65042739db5368b3734d70970.e7823387.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"connection","__idx":8},"children":["Connection"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Data Transfer フィールドで ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Source"]}," の名前を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," をクリックします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/s3parquetcreatesource.05fa56ff12f8143248d1016d95dd2d9f0f82dd78d66ae53973b53829ee3abff0.e7823387.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"source-table","__idx":9},"children":["Source Table"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Source ダイアログが開きます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["以下のパラメータを編集します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/s3parquetcreatesource2.841da89442e5f2253681b4dc42966d496e591379a291cbbd3013108cba6a51c5.e7823387.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameters"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Bucket"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3バケット名（例：",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["your_bucket_name"]},"）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Path Prefix"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ターゲットキーのプレフィックス（例：",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["logs/data_"]},"）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Path Regex"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ファイルパスに一致させる正規表現。ファイルパスが指定されたパターンに一致しない場合、そのファイルはスキップされます。例えば、.csvファイルのみに一致させたい場合、パターン ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":[".csv$"]}," を入力すると、.csvで終わらないファイル名はすべてスキップされます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions"},"children":["正規表現"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Skip Glacier Objects"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Amazon Glacierストレージクラスに保存されているオブジェクトの処理をスキップします。オブジェクトがGlacierストレージクラスに保存されているにもかかわらず、このオプションがチェックされていない場合、例外がスローされます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start after path"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["辞書順でこれより長いパスのみがインポートされます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sub Folders Are Partitions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sparkパーティションからパーティション列を追加します。サブフォルダー名は次の形式である必要があります：partiton_column_name=value"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ディレクトリ内のすべてのファイルをスキャンする必要がある場合（トップレベルディレクトリ「/」からなど）があります。このような場合は、CLIを使用してインポートを行う必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["EMRを設定して、次のようにファイル内のデータを含むparquetファイルを作成できます："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"[your_bucket] - [YM=202010] - [E231A697YXWD39.2020-10-29-15.a103fd5a.parquet]\n[your_bucket] - [YM=202010] - [E231A697YXWD39.2020-10-30-15.b2aede4a.parquet]\n[your_bucket] - [YM=202010] - [E231A697YXWD39.2020-10-31-01.594fa8e6.parquet]\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この場合、ソーステーブルの設定は次のようになります："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Bucket"]},": your_bucket"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Path Prefix"]},": YM=202010a/"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Path Regex"]},": * (必須ではありません)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start after path"]},": YM=202010/E231A697YXWD39.2020-10-29-15.a103fd5a.parquet"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-settings","__idx":10},"children":["Data Settings"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Settingsページが開きます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、データ設定を編集するか、このダイアログページをスキップします。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen_shot_2023-03-28_at_15_15_08.fe769b33ed2ca687f6bb9b1fbaf3eecebb307a0ac94812682b23463f1842dc3f.e7823387.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameters"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retry Limit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最大リトライ回数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Initial Retry Interval in Millis"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["初期リトライ間隔（ミリ秒単位）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Max Retry Wait in Millis"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最大リトライ間隔。初回リトライ後、待機間隔はこの最大値に達するまで2倍になります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Number of connector threads"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["並列処理可能なファイルハンドルの数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Number of threads for S3 file downloads"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ファイルのブロックをダウンロードするために使用できる接続数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Number of prefetch block"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["使用するプリフェッチブロックの数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Prefetch block size in MB"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プリフェッチブロックサイズ（MB単位で指定）"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"filters","__idx":11},"children":["Filters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Filters は、S3、FTP、または SFTP コネクターの Create Source または Edit Source インポート設定で使用できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Import Integration Filters を使用すると、インポート用の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/editing-data-settings"},"children":["データ設定の編集"]},"を完了した後、インポートされたデータを変更できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["import integration filters を適用するには:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Data Settings で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Filters ダイアログが開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["追加したいフィルターオプションを選択します。",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20200609-201955.eed6c6da800ba40d1d98b92e767d9a8f7500cad8a9d4079121190b7d34c23294.c7246827.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add Filter"]}," を選択します。そのフィルターのパラメーターダイアログが開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["パラメーターを編集します。各フィルタータイプの情報については、次のいずれかを参照してください:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Retaining Columns Filter"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Adding Columns Filter"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Dropping Columns Filter"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Expanding JSON Filter"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Digesting Filter"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["オプションで、同じタイプの別のフィルターを追加するには、特定の列フィルターダイアログ内で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["オプションで、別のタイプの別のフィルターを追加するには、リストからフィルターオプションを選択して、同じ手順を繰り返します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["追加したいフィルターを追加した後、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Data Preview ダイアログが開きます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-preview","__idx":12},"children":["Data Preview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポートを実行する前に、Generate Preview を選択してデータの",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/integration-hub/batch/import/previewing-your-source-data"},"children":["プレビュー"]},"を表示できます。Data preview はオプションであり、選択した場合はダイアログの次のページに安全にスキップできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Data Preview ページが開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データをプレビューする場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generate Preview"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データを確認します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-placement","__idx":13},"children":["Data Placement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データの配置について、データを配置したいターゲット database と table を選択し、インポートを実行する頻度を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Storage の下で、インポートされたデータを配置する新しい database を作成するか、既存の database を選択し、新しい table を作成するか、既存の table を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Database"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Database"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、database 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Table"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Table"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、table 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをインポートする方法を選択します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Append"]}," (デフォルト) - データインポートの結果は table に追加されます。"," ","table が存在しない場合は作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Always Replace"]}," - 既存の table の全体の内容をクエリの結果出力で置き換えます。table が存在しない場合は、新しい table が作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replace on New Data"]}," - 新しいデータがある場合のみ、既存の table の全体の内容をクエリの結果出力で置き換えます。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timestamp-based Partition Key"]}," 列を選択します。"," ","デフォルトキーとは異なるパーティションキーシードを設定したい場合は、long または timestamp 列をパーティショニング時刻として指定できます。デフォルトの時刻列として、add_time フィルターで upload_time を使用します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データストレージの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timezone"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," の下で、このクエリを実行するタイミングと頻度を選択できます。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"一度だけ実行","__idx":14},"children":["一度だけ実行"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Off"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"定期的に繰り返す","__idx":15},"children":["定期的に繰り返す"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["On"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を選択します。UI では、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@monthly"]},"、またはカスタム ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["cron"]}," の 4 つのオプションが提供されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delay Transfer"]}," を選択して、実行時間の遅延を追加することもできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["転送が実行された後、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Databases"]}," で転送の結果を確認できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-connector-ジョブの検証","__idx":16},"children":["Data Connector ジョブの検証"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データインポートの問題をトラブルシューティングするには","__idx":17},"children":["データインポートの問題をトラブルシューティングするには?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジョブログを確認してください。警告とエラーは、インポートの成功に関する情報を提供します。例えば、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/data-import-error-troubleshooting"},"children":["インポートエラーに関連する source ファイル名を特定"]},"できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["特定のジョブの詳細を確認するには、そのジョブを選択して詳細を表示します。ジョブのタイプに応じて、次のいずれか、またはすべてを確認できます: 結果、クエリ、出力ログ、エンジンログ、詳細、および宛先。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure コンソール を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Jobs"]}," に移動します。ページの右上に記載されているジョブの数を確認できます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/managing_jobs__360001457707__mceclip0.da001c56a934e6cb6001326ffbcf4a0e84c98aeebcb735879d974db1df660a4c.22d00320.png","alt":""},"children":[]}," ","3. オプションで、フィルターを使用してジョブのリストを絞り込み、ジョブ所有者、日付、database 名などでフィルタリングして、関心のあるものを見つけます。"," ","4. ジョブを選択して開き、結果、クエリ定義、ログ、その他の詳細を表示します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/managing_jobs__360001457707__mceclip1.8d80bfeb65a6425ba20c1ae0657bc6024a69694a10772e71c54baccf74c5c7f7.22d00320.png","alt":""},"children":[]}," ","5. 各タブには、ジョブに関する異なる情報が表示されます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"タブ名"},"children":["タブ名"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Results"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ジョブからインポートされたデータを表示します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ここから、結果をクリップボードにコピーしたり、CSV ファイルとしてダウンロードしたりできます。"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ジョブのクエリ構文を表示します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリエディターを起動します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリをコピーして、新しいクエリや workflow を作成するために使用します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリを改良して効率を向上させます"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Output および Engine Logs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ログ情報は、実行時間、クエリ結果の数、エラーコードについて確認できます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ログ情報はクリップボードにコピーできます"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Details"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["詳細情報を表示します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリ名"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["タイプ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ジョブ ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ステータス"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["期間"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スケジュールされた時刻と実際の時刻"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["結果の数とサイズ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ランナー"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリされた database"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["優先度"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Destination"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ここでは、エクスポート integration 設定の詳細を表示できます（インポート integration には適用されません）:   - integration - タイプ - 設定"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-type-mapping","__idx":18},"children":["Data type mapping"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Parquetファイル形式は、ディスクストレージの効率を最適化するために設計された、プリミティブ型と呼ばれる最小限のデータ型を使用します。一方、論理型は、プリミティブ型がどのように解釈されるべきかを指定することで、型を拡張するために使用されます。インポートされると、これらの型はTDでサポートされているデータ型に変換されます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parquet data type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type mapping when import to TD"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Primitive types"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int32"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int64"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["double"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["int96"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["float, double"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["double"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["byte_array, fixed_len_byte_array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Logical types"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["byte type, short type, integer type, long type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["float type, double type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["double"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["decimal"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["map, struct"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["json"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string type, binary type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"clitoolbeltを使用したaws-s3-parquetからのインポート","__idx":19},"children":["CLI（Toolbelt）を使用したAWS S3 Parquetからのインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションとして、TD Toolbeltを使用して接続の設定、ジョブの作成、およびジョブ実行のスケジュール設定を行うことができます。統合をセットアップする前に、最新バージョンのTD Toolbeltがインストールされていることを確認してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"seedコンフィグファイルseedymlの作成","__idx":20},"children":["Seedコンフィグファイル（seed.yml）の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の例に示すように、AWSアクセスキーを使用して",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["seed.yml"]},"ファイルを設定します。また、バケット名とソースファイル名を指定する必要があります。オプションで、複数のファイルにマッチさせるためにpath_prefixを指定できます。以下の例では、path_prefix: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/sample_fileは次のファイルにマッチします"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/sample_201501.parquet"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/sample_201502.parquet"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/sample_201505.parquet"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["etc."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["先頭に'/'を付けたpath_prefixを使用すると、意図しない結果になる可能性があります。例：「path_prefix: /path/to/sample_file」とすると、プラグインはs3://sample_bucket//path/to/sample_fileのファイルを探すことになり、これはS3上でs3://sample_bucket/path/to/sample_fileという意図したパスとは異なります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: s3_parquet\n  access_key_id: XXXXXXXXXX\n  secret_access_key: YYYYYYYYYY\n  bucket: sample_bucket\n  # s3バケット上の*.parquetファイルへのパス\n  path_prefix: path/to/sample_file\n  path_match_pattern: \\.parquet$ # このパターンにマッチしないファイルはスキップされます\n\n  ## 正規表現の例：\n  #path_match_pattern: /archive/ # .../archive/...ディレクトリ内のファイルにマッチ\n  #path_match_pattern: /data1/|/data2/ # .../data1/...または.../data2/...ディレクトリ内のファイルにマッチ\nout:\n  mode: append\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["既存の認証を再利用する場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_authentication_id"]}," コンフィグキーの値にAuthentication IDを設定します。これはassume-role認証方式に必要です。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/amazon-s3-parquet-import-integration#h1__756878989"},"children":["既存の認証の再利用"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  type: s3_qarquet\n  td_authentication: xxxx\n  bucket: sample_bucket\n  path_prefix: path/to/sample_file\n\nout:\n  mode: append\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"フィールドの推測loadymlの生成","__idx":21},"children":["フィールドの推測（load.ymlの生成）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["connector:guess"]}," は自動的にソースファイルを読み取り、ファイル形式、フィールド、カラムを評価します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:guess seed.yml -o load.yml\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["load.yml ファイルを確認すると、ファイル形式、エンコーディング、カラム名、型を含む「推測された」ファイル形式定義を確認できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: s3_parquet\n  access_key_id: XXXXXXXXXX\n  secret_access_key: YYYYYYYYYY\n  bucket: sample_bucket\n  path_prefix: path/to/sample_file\n\nout:\n  mode: append\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ロードジョブの実行","__idx":22},"children":["ロードジョブの実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ロードジョブを送信します。データのサイズによっては数時間かかる場合があります。データを保存する Treasure Data のデータベースとテーブルを指定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data のストレージは時間によってパーティション分割されているため、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["--time-column"]}," オプションを指定することを推奨します（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/data-partitioning-in-treasure-data"},"children":["データパーティショニング"]}," を参照）。このオプションが指定されていない場合、データコネクタは最初の ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["long"]}," または ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["timestamp"]}," カラムをパーティショニング時間として選択します。",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["--time-column"]}," で指定するカラムの型は、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["long"]}," または ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["timestamp"]}," のいずれかである必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データに時間カラムがない場合は、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["add_time"]}," フィルタオプションを使用して時間カラムを追加できます。詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/add_time-filter-function"},"children":["add_time フィルタ機能"]}," を参照してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:issue load.yml --database td_sample_db --table td_sample_table \\\n--time-column created_at\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の例では、connector:issue コマンドは、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["database(td_sample_db)"]}," と ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["table(td_sample_table)"]}," がすでに作成されていることを前提としています。Treasure Data にデータベースまたはテーブルが存在しない場合、このコマンドは失敗します。データベースとテーブルを手動で作成するか、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:issue"]}," コマンドで ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["--auto-create-table"]}," オプションを使用してデータベースとテーブルを自動作成してください:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:issue load.yml --database td_sample_db --table td_sample_table --time-column created_at --auto-create-table\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データコネクタはサーバー側でレコードをソートしません。時間ベースのパーティショニングを効果的に使用するには、事前にファイル内のレコードをソートしてください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["time"]}," というフィールドがある場合は、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["--time-column"]}," オプションを指定する必要はありません。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"iam-権限の設定","__idx":23},"children":["IAM 権限の設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["YML 設定ファイルで指定された IAM 認証情報は、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["connector:guess"]}," および ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["connector:issue"]}," コマンドで使用され、アクセスする必要のある AWS S3 リソースに対する権限が必要です。IAM ユーザーがこれらの権限を持っていない場合は、定義済みのポリシー定義のいずれかでユーザーを設定するか、JSON 形式で新しいポリシー定義を作成してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の例は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html"},"children":["ポリシー定義リファレンス形式"]}," に基づいています。これにより、IAM ユーザーに「your-bucket」に対する ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["読み取り専用"]}," 権限（GetObject および ListBucket アクションを通じて）が付与されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"s3:GetObject\",\n        \"s3:ListBucket\"\n      ],\n      \"Resource\": [\n        \"arn:aws:s3:::your-bucket\",\n        \"arn:aws:s3:::your-bucket/*\"\n      ]\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["\"",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["your-bucket"]},"\" を実際のS3バケット名に置き換えてください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"一時的な認証情報プロバイダーとしてaws-security-token-service-sts-を使用する","__idx":24},"children":["一時的な認証情報プロバイダーとしてAWS Security Token Service (STS) を使用する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["特定のケースでは、access_key_idとsecret_access_keyを通じたIAM基本認証はリスクが高すぎる可能性があります（ジョブの実行時やセッション作成後にsecret_access_keyが明確に表示されることはありませんが）。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["S3データコネクタは、AWS Secure Token Service (STS) を使用して",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html"},"children":["一時的なセキュリティ認証情報"]},"を提供できます。AWS STSを使用すると、任意のIAMユーザーが自身のaccess_key_idとsecret_access_keyを使用して、特定の有効期限を持つこれらの一時キーを作成できます："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["new_access_key_id"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["new_secret_access_key"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["session_tokenキー"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下は一時的なセキュリティ認証情報のタイプです："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Session Token"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定された有効期限を持つ最もシンプルなセキュリティ認証情報です。一時的な認証情報は、それらを生成したIAMユーザーと同じアクセス権を持ちます。これらの認証情報は、有効期限が切れておらず、元のIAMユーザーの権限が変更されていない限り有効です。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getfederationtoken.html"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Federation Token"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これは上記のSession Tokenに対して追加の権限制御レイヤーを追加します。Federation Tokenを生成する際、IAMユーザーはPermission Policy定義を指定する必要があります。スコープは、Federation Tokenの保有者がアクセスできるリソースを制限するために使用できます（権限を付与するIAMユーザーのアクセス権より少ない場合があります）。任意の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html"},"children":["Permission Policy"]},"定義を使用できますが、権限のスコープは、トークンを生成したIAMの権限と同じか、そのサブセットに制限されます。Session Tokenと同様に、Federation Token認証情報は、有効期限が切れておらず、元のIAM認証情報に関連する権限が変更されていない限り有効です。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AWS STS一時的なセキュリティ認証情報は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://aws.amazon.com/cli/"},"children":["AWS CLI"]},"またはお好みの言語の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://aws.amazon.com/tools/"},"children":["AWS SDK"]},"を使用して生成できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"session-token","__idx":25},"children":["Session Token"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ aws sts get-session-token --duration-seconds 900\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"federation-token","__idx":26},"children":["Federation Token"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では、"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["temp_creds"]}," はFederated tokenまたはユーザーの一時認証情報の名前です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bucketname"]}," はアクセスが許可されているS3バケットの名前です（詳細については",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-s3"},"children":["ARN仕様"]},"を参照してください）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["s3:GetObject"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["s3:ListBucket"]}," はAWS S3バケットの基本的な読み取り操作です。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ aws sts get-federation-token --name temp_creds --duration-seconds 900 \\\n  --policy '{\"Statement\": [{\"Effect\": \"Allow\", \"Action\": [\"s3:GetObject\", \"s3:ListBucket\"], \"Resource\": \"arn:aws:s3:::bucketname\"}]}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AWS STS認証情報は取り消すことができません。有効期限が切れるまで、または認証情報の生成に使用された元のIAMユーザーの権限を削除または取り消すまで、有効なままです。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["一時的なセキュリティ認証情報が生成されたら、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["seed.yml"]}," ファイルに ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SecretAccessKey"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccessKeyId"]},"、および ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SessionToken"]}," を含めて、通常どおりData Connector for S3を実行します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: s3_parquet\n  auth_method: session\n  access_key_id: XXXXXXXXXX\n  secret_access_key: YYYYYYYYYY\n  session_token: ZZZZZZZZZZ\n  bucket: sample_bucket\n  path_prefix: path/to/sample_file\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"認証情報の有効期限","__idx":27},"children":["認証情報の有効期限"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["STS認証情報は指定された時間が経過すると有効期限が切れるため、その認証情報を使用するデータコネクタジョブは最終的に失敗し始める可能性があります。現在、STS認証情報の有効期限が切れたと報告された場合、データコネクタジョブは最大回数(5回)まで再試行し、最終的に「error」のステータスで完了します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポートを確認するには、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/amazon-s3-parquet-import-integration#h1__1293994107"},"children":["データコネクタジョブの検証"]},"の手順を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"関連トピック","__idx":28},"children":["関連トピック"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["定期的な実行については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/scheduling-a-data-connector-job-execution-from-the-cli"},"children":["TD Toolbeltを使用したスケジューリング"]},"を参照してください"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["作成したSourceをワークフローからトリガーするには、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/using-td-workflow-with-td-integrations"},"children":["IntegrationでTreasure ワークフローを使用する"]},"を参照してください"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"s3ジョブのデータコネクタが長時間実行されている場合はどうすればよいですか","__idx":29},"children":["S3ジョブのデータコネクタが長時間実行されている場合はどうすればよいですか?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクタジョブが取り込んでいるS3ファイルの数を確認してください。10,000ファイルを超える場合、パフォーマンスが低下します。この問題を軽減するには、次の方法があります:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["path_prefixオプションを絞り込んで、S3ファイルの数を減らす"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["min_task_sizeオプションを268,435,456(256MB)に設定する"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"従うべきベストプラクティス","__idx":30},"children":["従うべきベストプラクティス"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1ファイルあたり1つのrow_groupではなく、多くのrow_groupsを持つファイルを提供する"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1か所に多数のファイルがある場合は、パラメータPath PrefixとPath Regexを使用して複数のジョブに分割してください。"," ","各ジョブは20〜40ファイルにする必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例:"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"path_prefix: folder/sub_folderpath_match_pattern: folder/sub_folder/regrex\n"},"children":[]}]},"headings":[{"value":"Amazon S3 Parquet Import Integration","id":"amazon-s3-parquet-import-integration","depth":1},{"value":"Amazon S3 Parquetの認証方法について","id":"amazon-s3-parquetの認証方法について","depth":2},{"value":"S3 Bucket Policy 設定","id":"s3-bucket-policy-設定","depth":2},{"value":"Treasure Data Integration の静的 IP アドレス","id":"treasure-data-integration-の静的-ip-アドレス","depth":2},{"value":"制限事項","id":"制限事項","depth":2},{"value":"Treasure コンソールでの新しい接続の作成","id":"treasure-コンソールでの新しい接続の作成","depth":2},{"value":"assume_role 認証方式による認証の作成","id":"assume_role-認証方式による認証の作成","depth":2},{"value":"AWS S3 データを Treasure Data に転送する","id":"aws-s3-データを-treasure-data-に転送する","depth":2},{"value":"Connection","id":"connection","depth":3},{"value":"Source Table","id":"source-table","depth":3},{"value":"Data Settings","id":"data-settings","depth":3},{"value":"Filters","id":"filters","depth":3},{"value":"Data Preview","id":"data-preview","depth":3},{"value":"Data Placement","id":"data-placement","depth":3},{"value":"一度だけ実行","id":"一度だけ実行","depth":4},{"value":"定期的に繰り返す","id":"定期的に繰り返す","depth":4},{"value":"Data Connector ジョブの検証","id":"data-connector-ジョブの検証","depth":2},{"value":"データインポートの問題をトラブルシューティングするには?","id":"データインポートの問題をトラブルシューティングするには","depth":3},{"value":"Data type mapping","id":"data-type-mapping","depth":2},{"value":"CLI（Toolbelt）を使用したAWS S3 Parquetからのインポート","id":"clitoolbeltを使用したaws-s3-parquetからのインポート","depth":2},{"value":"Seedコンフィグファイル（seed.yml）の作成","id":"seedコンフィグファイルseedymlの作成","depth":3},{"value":"フィールドの推測（load.ymlの生成）","id":"フィールドの推測loadymlの生成","depth":3},{"value":"ロードジョブの実行","id":"ロードジョブの実行","depth":3},{"value":"IAM 権限の設定","id":"iam-権限の設定","depth":3},{"value":"一時的な認証情報プロバイダーとしてAWS Security Token Service (STS) を使用する","id":"一時的な認証情報プロバイダーとしてaws-security-token-service-sts-を使用する","depth":3},{"value":"Session Token","id":"session-token","depth":4},{"value":"Federation Token","id":"federation-token","depth":4},{"value":"認証情報の有効期限","id":"認証情報の有効期限","depth":4},{"value":"関連トピック","id":"関連トピック","depth":2},{"value":"S3ジョブのデータコネクタが長時間実行されている場合はどうすればよいですか?","id":"s3ジョブのデータコネクタが長時間実行されている場合はどうすればよいですか","depth":3},{"value":"従うべきベストプラクティス","id":"従うべきベストプラクティス","depth":3}],"frontmatter":{"seo":{"title":"Amazon S3 Parquet Import Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/amazon-s3-parquet-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}