{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Teradata エクスポートインテグレーション","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":"teradata-エクスポートインテグレーション","__idx":0},"children":["Teradata エクスポートインテグレーション"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Teradataインテグレーションを使用すると、Treasure DataからTeradataサーバーにデータをエクスポートできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基本的な知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Teradata SQLの基本的な知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["稼働中のTeradataインスタンス"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"新しい認証の作成","__idx":2},"children":["新しい認証の作成"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["インテグレーションハブ"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["カタログ"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["検索して",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Teradata"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-12-11-at-21.02.41.20bcb1a211e4f3b94bcbcc052479a02fc857809c63ba7bd99eb1c05012083932.14e1eac9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ダイアログが開きます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-09-22-at-13.59.50.f6b3ebecf738cd695dbc99f011ca71868b5c579bfe554bfe41f4ccdcdad8570d.14e1eac9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","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":["ホスト"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TeradataデータベースのホストIPアドレスなどのホスト情報。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ポート"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インスタンスの接続ポート。Teradataのデフォルトは1025です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ユーザー名"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teradataデータベースに接続するためのユーザー名。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パスワード"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teradataデータベースに接続するためのパスワード。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["JDBC接続オプション"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teradataデータベースで必要な特別なJDBC接続。以下のJDBCオプションは無視されるため、追加しないでください：",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["DBS_PORT（ポート設定を使用）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["DATABASE（データベース設定を使用）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["USER（ユーザー設定を使用）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PASSWORD（パスワード設定を使用）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["LOGMECH（現在TD2のみサポート）"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["接続タイムアウト"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ソケット接続のタイムアウト（秒単位）（デフォルトは300）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ネットワークタイムアウト"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ネットワークソケット操作のタイムアウト（秒単位）（デフォルトは1800）。0はタイムアウトなしを意味します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["接続に名前を付けて、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["完了"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"エクスポート結果の設定","__idx":3},"children":["エクスポート結果の設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このステップでは、クエリを作成または再利用し、クエリ内のデータ接続を設定します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"tdとteradata間の互換性のあるエクスポートデータ","__idx":4},"children":["TDとTeradata間の互換性のあるエクスポートデータ"]},{"$$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":"TD/Teradata"},"children":["TD/Teradata"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"string"},"children":["string"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"double"},"children":["double"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"long"},"children":["long"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"boolean"},"children":["boolean"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"timestamp"},"children":["timestamp"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"json"},"children":["json"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BYTEINT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SMALLINT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["INTEGER"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BIGINT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes (EpochMilli)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["FLOAT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DECIMAL"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["VARCHAR"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CHAR"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["CLOB"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DATE"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes (format yyyy-MM-ddが必要)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes (EpochMilliが必要)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIME"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes (format HH:mm:[ss]が必要)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes (EpochMilliが必要)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMESTAMP"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes (format yyyy-MM-ddTHH:mm:ssZが必要)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes (EpochMilliが必要)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["no"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["互換性がない場合は、NULL値が設定されます。その他のTeradataデータ型はサポートされていません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データ型マッピング","__idx":5},"children":["データ型マッピング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ターゲットテーブルが存在しない場合のTDタイプからTeradataタイプへのデフォルトマッピングは以下の通りです："]},{"$$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":"TD結果"},"children":["TD結果"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Teradata"},"children":["Teradata"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["json"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["VARCHAR (1000)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["VARCHAR (500)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["double"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["FLOAT"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["long"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BIGINT"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["timestamp"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMESTAMP"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BYTEINT"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトとは異なる型を設定したい場合があるかもしれません。データ型マッピングを使用すると、特定の列に特定の型（例えば、VARCHAR）を明示的に設定できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データマッピングを使用する場合、以下のことが当てはまります："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいターゲットテーブルを作成する場合にのみ適用されます。データ型マッピングパラメータの構文は次のとおりです：col_name_1:VARCHAR; col_name2:BIGINT。列名はエクスポート結果のフィールド名と一致する必要があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パラメータを指定して接続を設定する","__idx":6},"children":["パラメータを指定して接続を設定する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールに移動します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["データワークベンチ"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["クエリ"]},"に移動します。データのエクスポートに使用するクエリにアクセスします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリエディタの上部にある",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["エクスポート結果"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インテグレーション選択ダイアログが開きます。結果のエクスポートに使用する接続を選択する際に、次の2つのオプションがあります："]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["既存の接続を使用する"," ","検索ボックスに接続名を入力して、接続をフィルタリングして選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ダイアログが開きます："," ","Insert モード"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-12-03-at-15.41.59.1cf945f5ff38e0b014e0b6ce13e79a05d936b54af1a1f9ace38602e06bc71e42.14e1eac9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Truncate モード"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-12-03-at-15.42.07.3722f04b0682f4da722b7feb515011d4af08f40b88cd0b3c241e1b2330b48452.14e1eac9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Merge モード"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-12-03-at-15.42.14.04a1b2f35731657570a37fd758fa3a5a66c745134a943726812cab80410b6c79.14e1eac9.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいTeradata接続を作成する。"," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新規インテグレーション"]},"を選択し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["タイプ"]},"ドロップダウンからTeradataを選択します。以下が表示されます："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-12-11-at-21.16.23.afbf0dca89e39d660b83725829f6413dbc8b5759896f8ef069a15319d9c2f1b7.14e1eac9.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しい接続のTeradata情報を入力します。次に「次へ」をクリックします。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定パラメータ","__idx":7},"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":["データベース名"]},"（必須）"]},{"$$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":["ターゲットテーブル名"]}]},{"$$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":["操作モード"]}]},{"$$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":["ターゲットテーブルフィールドを特定のデータ型にマップします。新しいテーブルを作成する場合にのみ適用されます"]}]},{"$$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":["読み込む新しいデータがない場合、切り捨て操作をスキップします"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オプションその他の設定","__idx":8},"children":["（オプション）その他の設定"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["オーディエンススタジオ"]},"で",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/audience-studio/activation/create-an-activation"},"children":["アクティベーションを作成"]},"して、セグメントデータをこのインテグレーションにエクスポートできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/scheduled/scheduling-a-query"},"children":["スケジュールジョブ"]},"と結果エクスポートを使用して、定期的にデータをターゲット先にアップロードできます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オプションワークフローを使用したエクスポートインテグレーション","__idx":9},"children":["（オプション）ワークフローを使用したエクスポートインテグレーション"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure ワークフローでは、データコネクタを使用してデータをエクスポートすることを指定できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/api#workflow-commands"},"children":["TDツールベルトを使用したワークフローでのデータのエクスポート"]},"をご覧ください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["insertモードの場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n   td:\n      database: teradata\n\n+teradata_export_task:\n   td>: export.sql\n   database: ${td.database}\n   result_connection: new_created_teradata\n   result_settings:\n      type: teradata\n      database: xxx\n      table: xxxx\n      table_type: set\n      mode: insert\n      column_options: col_1:VARCHAR(50), col_2:BIGINT\n      batch_size: 16777216\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["truncateモードの場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n   td:\n      database: teradata\n\n+teradata_export_task:\n   td>: export.sql\n   database: ${td.database}\n   result_connection: new_created_teradata\n   result_settings:\n      type: teradata\n      database: xxx\n      table: xxxx\n      table_type: set\n      mode: truncate\n      column_options: col_1:VARCHAR(50), col_2:BIGINT\n      batch_size: 16777216\n      skip_truncate_if_empty: true\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["mergeモードの場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n   td:\n      database: teradata\n\n+teradata_export_task:\n   td>: export.sql\n   database: ${td.database}\n   result_connection: new_created_teradata\n   result_settings:\n      type: teradata\n      database: xxx\n      table: xxxx\n      table_type: set\n      mode: merge\n      column_options: col_1:VARCHAR(50), col_2:BIGINT\n      batch_size: 16777216\n      merge_keys: col_1,col_2\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オプションcliを使用したエクスポートインテグレーション","__idx":10},"children":["（オプション）CLIを使用したエクスポートインテグレーション"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CLI（ツールベルト）を使用してTeradataに結果をエクスポートすることもできます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td query"]},"コマンドの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--result"]},"オプションを使用して、アカウントにエクスポートするための情報を指定する必要があります。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td query"]},"コマンドの詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/td-toolbelt-job-and-query-command-reference"},"children":["この記事"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションの形式はJSONで、一般的な構造は以下の通りです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["insertモードの場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n   \"type\": \"teradata\",\n   \"host\": \"xxxx\",\n   \"port\": 1025,\n   \"user\": \"xxx\",\n   \"password\": \"xxx\",\n   \"options\": \"{\\\\\\\"xxxx\\\\\\\": \\\\\\\"xxxx\\\\\\\"}\",\n   \"connect_timeout\": 30,\n   \"socket_timeout\": 60,\n   \"database\": \"xxx\",\n   \"table\": \"xxxx\",\n   \"table_type\": \"set\",\n   \"mode\": \"insert\",\n   \"column_options\": \"col_1:VARCHAR(50), col_2:BIGINT\",\n   \"batch_size\": 16777216\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["truncateモードの場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n   \"type\": \"teradata\",\n   \"host\": \"xxxx\",\n   \"port\": 1025,\n   \"user\": \"xxx\",\n   \"password\": \"xxx\",\n   \"options\": \"{\\\\\\\"xxxx\\\\\\\": \\\\\\\"xxxx\\\\\\\"}\",\n   \"connect_timeout\": 30,\n   \"socket_timeout\": 60,\n   \"database\": \"xxx\",\n   \"table\": \"xxxx\",\n   \"table_type\": \"set\",\n   \"mode\": \"truncate\",\n   \"column_options\": \"col_1:VARCHAR(50), col_2:BIGINT\",\n   \"batch_size\": 16777216,\n   \"skip_truncate_if_empty\": true\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["mergeモードの場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n   \"type\": \"teradata\",\n   \"host\": \"xxxx\",\n   \"port\": 1025,\n   \"user\": \"xxx\",\n   \"password\": \"xxx\",\n   \"options\": \"{\\\\\\\"xxxx\\\\\\\": \\\\\\\"xxxx\\\\\\\"}\",\n   \"connect_timeout\": 30,\n   \"socket_timeout\": 60,\n   \"database\": \"xxx\",\n   \"table\": \"xxxx\",\n   \"table_type\": \"set\",\n   \"mode\": \"merge\",\n   \"column_options\": \"col_1:VARCHAR(50), col_2:BIGINT\",\n   \"batch_size\": 16777216,\n   \"merge_keys\": \"col_1,col_2\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パラメータ","__idx":11},"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":"th","attributes":{"data-label":"型"},"children":["型"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"値"},"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":["type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクタタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["teradata"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["host"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teradataサーバーホスト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$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":["Teradataサーバーポート"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1025"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["options"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teradata JDBCオプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string（ハッシュオブジェクト形式）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["connect_timeout"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teradataログオンタイムアウト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["300"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["socket_timeout"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ネットワークソケット操作タイムアウト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1800"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["database"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Teradataデータベース"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["テーブルタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポート値：set, multiset"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["set"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["テーブル名"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["mode"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["モード"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポート値：insert, truncate, merge"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["insert"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["column_options"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["テーブルフィールドを特定のデータ型にマップ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["batch_size"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["単一のバッチ挿入のサイズ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["16777216"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["merge_keys"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ターゲットテーブルのプライマリインデックスフィールド"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["該当なし"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["mergeモードの場合はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["skip_truncate_if_empty"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["読み込む新しいデータがない場合、切り捨て操作をスキップする"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true/false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]}]}]}]}]}]},"headings":[{"value":"Teradata エクスポートインテグレーション","id":"teradata-エクスポートインテグレーション","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"新しい認証の作成","id":"新しい認証の作成","depth":2},{"value":"エクスポート結果の設定","id":"エクスポート結果の設定","depth":2},{"value":"TDとTeradata間の互換性のあるエクスポートデータ","id":"tdとteradata間の互換性のあるエクスポートデータ","depth":3},{"value":"データ型マッピング","id":"データ型マッピング","depth":3},{"value":"パラメータを指定して接続を設定する","id":"パラメータを指定して接続を設定する","depth":3},{"value":"設定パラメータ","id":"設定パラメータ","depth":3},{"value":"（オプション）その他の設定","id":"オプションその他の設定","depth":2},{"value":"（オプション）ワークフローを使用したエクスポートインテグレーション","id":"オプションワークフローを使用したエクスポートインテグレーション","depth":2},{"value":"（オプション）CLIを使用したエクスポートインテグレーション","id":"オプションcliを使用したエクスポートインテグレーション","depth":2},{"value":"パラメータ","id":"パラメータ","depth":3}],"frontmatter":{"seo":{"title":"Teradata エクスポートインテグレーション"}},"lastModified":"2026-06-01T09:47:58.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/teradata-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}