S3上のファイルからのデータをRedshiftにロードする - Cloud - 8.0

Amazon Redshift

Version
Cloud
8.0
Language
日本語
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
ジョブデザインと開発 > サードパーティーシステム > Amazonサービス > Amazon Redshift
データガバナンス > サードパーティーシステム > Amazonサービス > Amazon Redshift
データクオリティとプレパレーション > サードパーティーシステム > Amazonサービス > Amazon Redshift
Last publication date
2024-02-28

手順

  1. tRedshiftBulkExecコンポーネントをダブルクリックし、[Component] (コンポーネント)タブで[Basic settings] (基本設定)ビューを開きます。
  2. [Host] (ホスト)フィールドで[Ctrl]+[Space]を押し、リストからcontext.redshift_hostを選択して、このフィールドに入力します。
    同じように次を入力します。
    • [Port] (ポート)フィールドにはcontext.redshift_port

    • [Database] (データベース)フィールドにはcontext.redshift_database

    • [Schema] (スキーマ)フィールドにはcontext.redshift_schema

    • [Username] (ユーザー名)フィールドにはcontext.redshift_username

    • [Password] (パスワード)フィールドにはcontext.redshift_password

    • [Access Key] (アクセスキー)フィールドにはcontext.s3_accesskey

    • [Secret Key] (シークレットキー)フィールドにはcontext.s3_secretkey

    • [Bucket] (バケット)フィールドにはcontext.s3_bucket

  3. [Table Name] (テーブル名)フィールドに、書き込むテーブルの名前を入力します。この例では、personです。
  4. [Action on table] (テーブルでのアクション)リストから[Drop table if exists and create] (存在する場合はテーブルをドロップして作成)を選択します。
  5. [Key] (キー)フィールドに、ロードするAmazon S3上のファイルの名前を入力します。この例では、person_loadです。
  6. [Edit schema] (スキーマを編集)の横にある[...]ボタンをクリックし、ポップアップウィンドウで、整数タイプのIDと文字列タイプのNameという2つのカラムを追加して、スキーマを定義します。