Table of Contents

Search

  1. Preface
  2. Part 1: Introduction to Amazon Redshift connectors
  3. Part 2: Data Integration with Amazon Redshift V2 Connector
  4. Part 3: Data Integration with Amazon Redshift Connector

Amazon Redshift Connectors

Amazon Redshift Connectors

Connection switching example

Connection switching example

You want to upgrade your existing Amazon Redshift mapping that uses the Amazon Redshift V1 connection to the Amazon Redshift V2 connection.
  1. Open the existing Amazon Redshift V1 mapping that you want to upgrade to Amazon Redshift V2.
    The following image shows an existing mapping that uses the Amazon Redshift V1 connection and contains the configured advanced properties in the Source transformation:
    The mapping uses the Amazon Redshift V1 connection and contains the advanced source properties.
  2. To retain the mapped fields from the field mapping when you switch the connection, on the
    Field Mapping
    tab, choose from the following
    Field Map Options
    menu in the Amazon Redshift V1 mapping:
    • To retain the fields automatically mapped after the switch, select
      Automatic
      .
      Retain fields automatically using the Automatic field map option.
    • To manually map the retained fields after the switch, select
      Manual
      .
      When you select manual, after switching the connection, you have the option to automap the retained fields using the previous mapping.
  3. To switch the connection, in the
    Connection
    field, change the connection from Amazon Redshift V1 to Amazon Redshift V2.
  4. In the
    Change Connection
    dialog box, select
    Connection Switch
    property, and click
    Yes
    :
    • Connection switch
      . Switches to the connection that you select.
    • Retain field mapping
      . Retains the configured field mappings from Amazon Redshift V1.
    The following image shows the option that you must select:
    The dialog box shows the options to retain the advanced properties and the field mapping.
  5. Use the same object path in the mapping as Amazon Redshift V1.
    The following image shows the switched connection with the same object path as Amazon Redshift V1:
    The Amazon Redshift V2 connection is selected with the same object path as Amazon Redshift V1.
    The configured source advanced properties from the Amazon Redshift V1 mapping reflect in the Source transformation.
  6. If you had selected
    Manual
    on the
    Field Mapping
    tab in the Amazon Redshift V1 mapping and you want to reflect the field mappings in Amazon Redshift V2, on the
    Field Mapping
    tab, select
    Automap
    , and then select
    Previous Mapping
    .
    Select Automap and then select Previous Mapping to reflect the field mappings in Amazon Redshift V2.
    If you had selected
    Automatic
    in Amazon Redshift V1, you do not have to perform this task.
  7. Click
    Save
    .