Your organization has a large amount of customer data from across regions stored in flat files. You organization needs to analyze data in the APAC region. Create a mapping that reads all the customer records from the flat file and write those records to a Snowflake table.
You can use the following objects in a Snowflake mapping:
Flat file input
The input file is a flat file that contains customer names and their details.
Create a flat file data object. Configure the flat file connection and specify the flat file that contains the customer data as a resource for the data object. Use the data object in a mapping as a read data object.
Transformations
Add a Filter transformation to extract customer data in the APAC region.
The Filter transformation filters the source data based on the value you specify for the region ID column. The Data Integration Service returns the rows that meet the filter condition.
Snowflake output
Create a Snowflake data object write operation. Configure the Snowflake connection and specify the Snowflake object as a target for the data object. Use the data object in a mapping as a target data object.
The following image shows the Snowflake mapping example:
When you run the mapping, the Data Integration Server reads customer records from the flat file and writes to the Snowflake table.