{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"SFTP Parquet インポート Integration","description":"SFTP サーバーから Treasure AI への Parquet ファイルのインポート方法を学びます。認証の設定、データ転送の設定、包括的なワークフロー例を使用した自動インポートのスケジューリング方法を説明します。","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"sftp-parquet-インポート-integration","__idx":0},"children":["SFTP Parquet インポート Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SFTP Parquet"]}," 用データコネクターを使用すると、SFTP サーバーに保存されている Parquet ファイルを Treasure AI にインポートできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI の基礎知識。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この Integration を使用する前に、お使いの環境で有効なプロトコルを決定してください。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ファイアウォールを使用している場合は、許可された IP 範囲とポートを確認してください。サーバー管理者は、セキュリティ上の理由から、デフォルトポート番号を TCP 22 から変更することがあります。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["\"PuTTY\" およびその他の形式はサポートされていません。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限事項とサポート","__idx":2},"children":["制限事項とサポート"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parquet ファイルのみ"]}," - この Integration は Parquet ファイル専用です。その他のファイル形式（CSV、JSON、TSV など）はサポートされていません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ファイルは有効な Parquet 形式である必要があります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Out of Memory を回避するため、parquet ファイルの行グループサイズは約 128 MB にしてください"]}]},{"$$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":"treasure-console-を使用して接続を作成する","__idx":4},"children":["Treasure Console を使用して接続を作成する"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しい接続を作成する","__idx":5},"children":["新しい接続を作成する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI では、クエリを実行する前にデータ接続を作成および設定する必要があります。データ接続の一部として、Integration にアクセスするための認証を提供します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure Console"]}," を開きます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integration Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]}," に移動します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SFTP Parquet を検索して選択します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sftp_parquet_create_authentication.c0f74bbdbd0859b4db4b777d64451d640d0237cc62be5dd85d8c55ac1a40858f.a126b8b7.webp","alt":"新しい認証"},"children":[]}," ","4. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["認証を作成"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sftp_parquet_create_authentication_detail.edece0f1d93926a18f8a85860c58b5ebbea9f3a236abb8ed6031206451c3edf3.a126b8b7.webp","alt":"認証詳細"},"children":[]}," ","5. 次のダイアログが開きます。パラメータを編集します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"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":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Host"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リモート SFTP インスタンスのホスト情報（例：IP アドレス）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Port"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リモート SFTP インスタンスの接続ポート、デフォルトは 22。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["User"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リモート SFTP インスタンスへの接続に使用するユーザー名。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["認証モード"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SFTP サーバーで認証を行う方法を選択します。"]}]},{"$$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":"code","attributes":{},"children":["認証モード"]}," から「公開鍵/秘密鍵ペア」が選択されている場合に必要です。（RSA、DSS、ECDSA、および ED25519 がサポートされています。）"]}]},{"$$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":["再試行制限"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["失敗した接続を再試行する回数（デフォルト 10）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["タイムアウト"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["接続タイムアウト（秒）（デフォルト 600）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["最大 SFTP 接続数"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["同時 SFTP 接続の最大数（整数、デフォルト 1、最小 1、最大 10）。並列ファイル転送の接続プールサイズを制御します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["接続の名前を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証を他のユーザーと共有するかどうかを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["続行"]}," を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"データを-treasure-ai-に転送する","__idx":6},"children":["データを Treasure AI に転送する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証済み接続を作成すると、自動的に認証ページに移動します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["作成した接続を検索します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新しいソース"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ転送名フィールドに ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ソース"]}," の名前を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["次へ"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"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":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーディレクトリルート"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["パスプレフィックスがユーザーディレクトリ下にあるかどうかを確認します。例：/home/test_user"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パスプレフィックス"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["対象ファイルのプレフィックス。フォルダを指す必要があります（文字列、必須）。パスプレフィックスはフォルダパスである必要があります。ファイルパスに部分的なファイル名が含まれている場合、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["無効な path_prefix:xxx"]}," エラーメッセージが表示されます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["path_prefix は Parquet ファイルを含むフォルダパスである必要があります。"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["パスマッチパターン"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ファイルパスをクエリする正規表現を入力します。ファイルパスが指定されたパターンと一致しない場合、そのファイルはスキップされます。例：パターン ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".parquet$"]}," を指定した場合、パスがパターンと一致しないファイルはスキップされます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インクリメンタル"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インクリメンタル読み込みを有効にします（ブール値、オプション。デフォルト：true）。インクリメンタル読み込みが有効になっている場合、次回実行の設定差分に last_path パラメータが含まれ、次回実行時にそのパス以前のファイルがスキップされます。そうでない場合、last_path は含まれません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["開始パス以降"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["これより辞書式順序で大きいパスのみがインポートされます。"]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["次へ"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ設定ページは必要に応じて変更できますが、ページをスキップすることも可能です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sftp_parquet_create_source.e339833b61b0a85a88c3b49aa72f05f511b5245b140695ad9effa97302187a0b.a126b8b7.webp","alt":"新しいデータソース"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sftp_parquet_create_source_detail.c3a0d77cc09da3090b4ee900298e1796ec79b5039afca21bfb2ac8770e34bd88.a126b8b7.webp","alt":"データソース詳細"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-preview","__idx":7},"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":8},"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":9},"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":10},"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":1,"id":"treasure-workflow-を使用した-sftp-parquet-インポート","__idx":11},"children":["Treasure Workflow を使用した SFTP Parquet インポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローを作成して実行します"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: workflow_sftp_parquet\n    table: workflow_sftp_parquet\n+import_from_sftp_parquet:\n  td_load>: imports/seed.yml\n  database: ${td.database}\n  table: ${td.table}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポート用に ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["seed.yml"]}," ファイルを SFTP 接続詳細で変更します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: sftp_parquet\n  host: HOST\n  port: <PORT, default is 22>\n  auth_method: key_pair\n  user: USER\n  secret_key_file:\n    content: |\n      -----BEGIN RSA PRIVATE KEY-----\n      Proc-Type: 4,ENCRYPTED\n      DEK-Info: AES-128-CBC...\n      ...\n      -----END RSA PRIVATE KEY-----\n  secret_key_passphrase: PASSPHRASE\n  user_directory_is_root: true\n  timeout: 600\n  path_prefix: /path/to/parquet/files\nout:\n  mode: append\n","lang":"yaml"},"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":"th","attributes":{"data-label":"値"},"children":["値"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["host:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列、必須）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["port:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列、デフォルト：22）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["auth_method:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列 ['password', 'key_pair']、必須）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["user:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列、必須）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["password:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列、デフォルト：null）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["secret_key_file:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列、デフォルト：null）。OpenSSH 形式が必要です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["secret_key_passphrase:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列、デフォルト：\"\"）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["user_directory_is_root:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（ブール値、デフォルト：true）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["timeout: SFTP 接続タイムアウト（秒）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（整数、デフォルト：600）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["maximum_sftp_connections: 最大同時 SFTP 接続数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（整数、デフォルト：1、最小：1、最大：10）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["path_prefix: 出力パスのプレフィックス"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（文字列、必須）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental: インクリメンタル読み込みを有効にします"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（ブール値、オプション。デフォルト：true）。インクリメンタル読み込みが有効になっている場合、次回実行の設定差分に last_path パラメータが含まれ、次回実行時にそのパス以前のファイルがスキップされます。そうでない場合、last_path は含まれません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["path_match_pattern:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ファイルパスにマッチする正規表現。ファイルパスがこのパターンと一致しない場合、そのファイルはスキップされます（正規表現文字列、オプション）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["total_file_count_limit:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["読み込むファイルの最大数（整数、オプション）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["min_task_size（実験的）:"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["タスクの最小サイズ。これが 0 より大きい場合、1つのタスクに複数の入力ファイルが含まれます。タスク数が多すぎると出力またはエグゼキュータープラグインのパフォーマンスに悪影響を与える場合に便利です。（整数、オプション）"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"clitd-toolbeltを使用した-sftp-インポート","__idx":12},"children":["CLI（TD Toolbelt）を使用した SFTP インポート"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"td-toolbelt-をインストールする","__idx":13},"children":["TD Toolbelt をインストールする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["最新の ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["Treasure Data Toolbelt"]}," をインストールします。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td --version\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"シード設定ファイルseedymlを作成する","__idx":14},"children":["シード設定ファイル（seed.yml）を作成する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の例に示すように、SFTP Parquet の詳細を含む ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["seed.yml"]}," を準備します。2つの認証方法をサポートしています：公開/秘密鍵ペアとパスワード。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"公開鍵と秘密鍵ペア認証","__idx":15},"children":["公開鍵と秘密鍵ペア認証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の内容で ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["seed.yml"]}," を作成します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: sftp_parquet\n  host: HOST\n  port: <PORT, default is 22>\n  auth_method: key_pair\n  user: USER\n  secret_key_file:\n    content: |\n      -----BEGIN RSA PRIVATE KEY-----\n      Proc-Type: 4,ENCRYPTED\n      DEK-Info: AES-128-CBC...\n      ...\n      -----END RSA PRIVATE KEY-----\n  secret_key_passphrase: PASSPHRASE\n  user_directory_is_root: true\n  timeout: 600\n  path_prefix: /path/to/parquet/files\nout:\n  mode: append\n  exec: {}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["secret\\_key\\_file"]}," には OpenSSH 形式が必要です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パスワード認証","__idx":16},"children":["パスワード認証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の内容で ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["seed.yml"]}," を作成します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: sftp_parquet\n  host: HOST\n  port: <PORT, default is 22>\n  auth_method: password\n  user: USER\n  password: PASSWORD\n  user_directory_is_root: true\n  timeout: 600\n  path_prefix: /path/to/parquet/files\nout:\n  mode: append\n  exec: {}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パスワードには次の特殊文字を使用できます：\"#$!*@\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SFTP Parquet Integration は、指定されたプレフィックスに一致するすべての Parquet ファイルをインポートします。path_prefix は Parquet ファイルを含むフォルダを指す必要があります（例：path_prefix: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files"]}," –> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201501.parquet"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201502.parquet"]},"、…、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201505.parquet"]},"）。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"フィールドを推測するloadyml-を生成","__idx":17},"children":["フィールドを推測する（load.yml を生成）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["connector:guess"]}," を使用します。このコマンドは自動的にソースファイルを読み取り、ファイル形式を評価（推測ロジックを使用）します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:guess seed.yml -o load.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["load.yml"]}," を開くと、推測されたファイル形式定義が表示されます。Parquet ファイルは自己記述的なので、列スキーマは Parquet メタデータから自動的に検出されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: sftp_parquet\n  host: HOST\n  port: <PORT, default is 22>\n  auth_method: key_pair\n  user: USER\n  secret_key_file:\n    content: |\n      -----BEGIN RSA PRIVATE KEY-----\n      Proc-Type: 4,ENCRYPTED\n      DEK-Info: AES-128-CBC...\n      ...\n      -----END RSA PRIVATE KEY-----\n  secret_key_passphrase: PASSPHRASE\n  user_directory_is_root: true\n  timeout: 600\n  path_prefix: /path/to/parquet/files\nout:\n  mode: append\n  exec: {}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次に、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["preview"]}," コマンドを使用して、システムがファイルをどのように解析するかをプレビューできます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"td connector:preview load.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["guess コマンドは Parquet ファイルのメタデータを読み取り、列名と型を自動的に決定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["システムが予期しない列名や列型を検出した場合、スキーマを変更できますが、Parquet ファイルは通常、明確に定義されたスキーマを持っています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["また、データロードジョブを実行する前に、データベースとテーブルを作成する必要があります。以下の手順に従ってください："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td database:create td_sample_db\ntd table:create td_sample_db td_sample_table\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ロードジョブを実行する","__idx":18},"children":["ロードジョブを実行する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ロードジョブを送信します。データのサイズによっては、数時間かかる場合があります。データを保存する Treasure AI データベースとテーブルを指定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI のストレージは時間でパーティション分割されているため、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["--time-column"]}," オプションを指定することをお勧めします（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/data-partitioning-in-treasure-data"},"children":["データパーティション分割"]}," を参照）。このオプションが提供されない場合、Integration は最初の ",{"$$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":"/products/customer-data-platform/integration-hub/batch/import/filter/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 --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)"]}," が既に作成されていることを前提としています。データベースまたはテーブルが TD に存在しない場合、connector:issue コマンドは失敗します。この場合、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/creating-or-viewing-a-database"},"children":["データベースを作成"]}," し、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/creating-or-viewing-tables"},"children":["テーブルを作成"]}," を手動で行うか、",{"$$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":["Integration はサーバー側でレコードをソートしません。時間ベースのパーティション分割を効果的に使用するには、事前にレコードをソートしてください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," という名前のフィールドがある場合、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--time-column"]}," オプションを指定する必要はありません。"]},{"$$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","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"スケジュール実行","__idx":19},"children":["スケジュール実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インクリメンタル SFTP Parquet ファイルインポート用に定期的な Integration 実行をスケジュールできます。高可用性を確保するために、スケジューラーを慎重に設定しています。この機能を使用することで、ローカルデータセンターに ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["cron"]}," デーモンが不要になります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スケジュールインポートの場合、SFTP Parquet 用 Integration は、指定されたプレフィックスに一致するすべてのファイル（例：path_prefix: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files"]}," –> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201501.parquet"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201502.parquet"]},"、…、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201505.parquet"]},"）を最初にインポートし、次回実行のために最後のパス（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201505.parquet"]},"）を記憶します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2回目以降の実行では、アルファベット順（辞書順）で最後のパス以降のファイルのみをインポートします。（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["path/to/parquet/files/data_201506.parquet"]},"、…）"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュールを作成する","__idx":20},"children":["スケジュールを作成する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:create"]}," コマンドを使用して新しいスケジュールを作成できます。以下が必要です：スケジュールの名前、cron スタイルのスケジュール、データを保存するデータベースとテーブル、および Integration 設定ファイル。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:create \\\ndaily_parquet_import \\\n\"10 0 * * *\" \\\ntd_sample_db \\\ntd_sample_table \\\nload.yml\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI のストレージは時間でパーティション分割されているため、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["--time-column"]}," オプションを指定することをお勧めします。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:create \\\ndaily_parquet_import \\\n\"10 0 * * *\" \\\ntd_sample_db \\\ntd_sample_table \\\nload.yml \\\n--time-column created_at\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cron"]}," パラメータは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@monthly"]}," の3つの特別なオプションも受け入れます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトでは、スケジュールは UTC タイムゾーンで設定されます。-t または --timezone オプションを使用してタイムゾーンでスケジュールを設定できます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--timezone"]}," オプションは、「Asia/Tokyo」、「America/Los_Angeles」などの拡張タイムゾーン形式のみをサポートします。PST、CST などのタイムゾーン略語は *サポートされておらず*、予期しないスケジュールにつながる可能性があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュールをリスト表示する","__idx":21},"children":["スケジュールをリスト表示する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:list"]}," コマンドを実行すると、現在スケジュールされているエントリのリストが表示されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"td connector:list\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定とスケジュール履歴を表示する","__idx":22},"children":["設定とスケジュール履歴を表示する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:show"]}," は、スケジュールエントリの実行設定を表示します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"td connector:show daily_parquet_import\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:history"]}," は、スケジュールエントリの実行履歴を表示します。個々の実行結果を調査するには、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td job jobid"]}," を使用します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:history daily_parquet_import\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュールを削除する","__idx":23},"children":["スケジュールを削除する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:delete"]}," はスケジュールを削除します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:delete daily_parquet_import\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"out-プラグインのモード","__idx":24},"children":["out プラグインのモード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["seed.yml の ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["out"]}," セクションでファイルインポートモードを指定できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"appendデフォルト","__idx":25},"children":["append（デフォルト）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これはデフォルトモードで、レコードが対象テーブルに追加されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  ...\nout:\n  mode: append\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"replace","__idx":26},"children":["replace"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このモードは、対象テーブル内のデータを置き換えます。対象テーブルに加えられた手動スキーマ変更は、このモードでもそのまま保持されることに注意してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  ...\nout:\n  mode: replace\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"workflow-を使用した-sftp-parquet-サーバーからのインポート","__idx":27},"children":["Workflow を使用した SFTP Parquet サーバーからのインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SFTP サーバーから Parquet ファイルをインポートするサンプルワークフローについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/master/td_load/sftp"},"children":["Treasure Boxes"]}," を参照してください。"]}]},"headings":[{"value":"SFTP Parquet インポート Integration","id":"sftp-parquet-インポート-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"制限事項とサポート","id":"制限事項とサポート","depth":2},{"value":"Treasure Data Integration の静的 IP アドレス","id":"treasure-data-integration-の静的-ip-アドレス","depth":2},{"value":"Treasure Console を使用して接続を作成する","id":"treasure-console-を使用して接続を作成する","depth":2},{"value":"新しい接続を作成する","id":"新しい接続を作成する","depth":3},{"value":"データを Treasure AI に転送する","id":"データを-treasure-ai-に転送する","depth":2},{"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":"Treasure Workflow を使用した SFTP Parquet インポート","id":"treasure-workflow-を使用した-sftp-parquet-インポート","depth":1},{"value":"CLI（TD Toolbelt）を使用した SFTP インポート","id":"clitd-toolbeltを使用した-sftp-インポート","depth":1},{"value":"TD Toolbelt をインストールする","id":"td-toolbelt-をインストールする","depth":2},{"value":"シード設定ファイル（seed.yml）を作成する","id":"シード設定ファイルseedymlを作成する","depth":2},{"value":"公開鍵と秘密鍵ペア認証","id":"公開鍵と秘密鍵ペア認証","depth":3},{"value":"パスワード認証","id":"パスワード認証","depth":3},{"value":"フィールドを推測する（load.yml を生成）","id":"フィールドを推測するloadyml-を生成","depth":2},{"value":"ロードジョブを実行する","id":"ロードジョブを実行する","depth":2},{"value":"スケジュール実行","id":"スケジュール実行","depth":2},{"value":"スケジュールを作成する","id":"スケジュールを作成する","depth":3},{"value":"スケジュールをリスト表示する","id":"スケジュールをリスト表示する","depth":3},{"value":"設定とスケジュール履歴を表示する","id":"設定とスケジュール履歴を表示する","depth":3},{"value":"スケジュールを削除する","id":"スケジュールを削除する","depth":3},{"value":"out プラグインのモード","id":"out-プラグインのモード","depth":2},{"value":"append（デフォルト）","id":"appendデフォルト","depth":3},{"value":"replace","id":"replace","depth":3},{"value":"Workflow を使用した SFTP Parquet サーバーからのインポート","id":"workflow-を使用した-sftp-parquet-サーバーからのインポート","depth":1}],"frontmatter":{"seo":{"title":"SFTP Parquet インポート Integration","description":"SFTP サーバーから Treasure AI への Parquet ファイルのインポート方法を学びます。認証の設定、データ転送の設定、包括的なワークフロー例を使用した自動インポートのスケジューリング方法を説明します。"}},"lastModified":"2026-11-24T09:43:03.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/sftp-server-parquet-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}