Google BigQuery Connectors > Part II: Data Integration with Google BigQuery V2 Connector > Upgrading to Google BigQuery V2 Connector > 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.
    1Open 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
    2To 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:
    3To switch the connection, in the Connection field, change the connection from Google BigQuery V1 to Google BigQuery V2.
    4In the Change Connection dialog box, select the following properties, and click Yes:
    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.
    5Use 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.
    6If 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.
    Note: 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.
    7Click Save.