Table of Contents

Search

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

Google BigQuery Connectors

Google BigQuery Connectors

Connection switching example

Connection switching example

You want to upgrade your existing Google BigQuery V1 mapping that uses the Google BigQuery connection to the Google BigQuery V2 connection.
  1. Open the existing Google BigQuery V1 mapping that you want to upgrade to Google BigQuery V2.
    The following image shows an existing mapping that uses the Google BigQuery connection and contains the configured advanced properties in the Target transformation:
    The connection type used is Google BigQuery V1 connection.
    The configured target object in this example is:
    MasterData_PreSQLSource
  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 Google BigQuery V1 mapping:
    • To retain the fields automatically mapped after the switch, select
      Automatic
      .
      On the Field Mapping tab, the field mapping option is selected as Automatic.
    • 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 Google BigQuery V1 to Google BigQuery V2.
  4. In the
    Change Connection
    dialog box, select the following properties, and click
    Yes
    :
    • Connection switch
      . Switches to the connection that you select.
    • Retain field mapping
      . Retains the configured field mappings from Google BigQuery V1.
    The following image shows the options 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 Google BigQuery V1.
    The following image shows the switched connection with the same object=:
    MasterData_PreSQLSource
    The connection is switched to Google BigQuery V2 type.
    The configured target advanced properties from the Google BigQuery V1 mapping reflect in the Target transformation.
  6. If you had selected
    Manual
    on the
    Field Mapping
    tab in the Google BigQuery V1 mapping and you want to reflect the field mappings in Google BigQuery V2, on the
    Field Mapping
    tab, select
    Automap
    , and then select
    Previous Mapping
    .
    The automap option is selected to retain the mappings from the old connector.
    If you had selected
    Automatic
    in Google BigQuery V1, you do not have to perform this task.
    In the following image, the configured mapped fields from the Google BigQuery V1 mapping reflects in the Google BigQuery V2 mapping:
    The Field Mapping tab shows the mapped fields reflecting in the Google BigQuery V2 mapping.
  7. Click
    Save
    .

0 COMMENTS

We’d like to hear from you!