Microsoft Azure Synapse SQL Connector > Mappings for Microsoft Azure Synapse SQL > Mappings in advanced mode example
  

Mappings in advanced mode example

You work for an organization that stores large amount of purchase order details, such as customer ID, item codes, and item quantity for all regions in Microsoft Azure Data Lake Storage Gen2. You need to port the data from Microsoft Azure Data Lake Storage Gen2 to Microsoft Azure Synapse SQL to quickly analyze the purchase order details and to increase future revenues.
Create a mapping in advanced mode to achieve faster performance when you read all the purchase records from Microsoft Azure Data Lake Storage Gen2 source and write the records to a Microsoft Azure Synapse SQL target.
    1In Data Integration, click New > Mappings > Mapping.
    2In the Mapping Designer, click Switch to Advanced.
    The following image shows the Switch to Advanced button in the Mapping Designer:
    In the Mapping Designer, the header includes the Switch to Advanced button.
    3In the Switch to Advanced dialog box, click Switch to Advanced.
    The Mapping Designer updates the mapping canvas to display the transformations and functions that are available in advanced mode.
    4 Enter a name, location, and description for the mapping.
    5On the Source transformation, specify a name and description in the general properties.
    6On the Source tab, perform the following steps to provide the source details to read data from the Microsoft Azure Data Lake Storage Gen2 source:
    1. aIn the Connection field, select the Microsoft Azure Data Lake Storage Gen2 source connection.
    2. bIn the Source Type field, select the type of the source.
    3. cIn the Object field, select the required object.
    4. dIn the Advanced Properties section, provide the appropriate values.
    7On the Fields tab, map the source fields to the target fields.
    8On the Target transformation, specify a name and description in the general properties.
    9On the Target tab, perform the following steps to provide the target details to write data to theMicrosoft Azure Synapse SQL target:
    1. aIn the Connection field, select the Microsoft Azure Synapse SQL target connection.
    2. bIn the Target Type field, select the type of the target.
    3. cIn the Object field, select the required object.
    4. dIn the Operation field, select the required operation.
    5. eIn the Advanced Properties section, provide appropriate values for the advanced target properties.
    10Map the flat file source and the Microsoft Azure Synapse SQL target.
    11Click Save > Run to validate the mapping.
    In Monitor, you can monitor the status of the logs after you run the task.

Rules and guidelines for mappings in advanced mode

Consider the following rules and guidelines when you create mappings in advanced mode: