Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for Snowflake
  3. Snowflake Connections
  4. PowerExchange for Snowflake Data Objects
  5. PowerExchange for Snowflake Mappings
  6. PowerExchange for Snowflake Dynamic Mappings
  7. Snowflake Run-Time Processing
  8. Pushdown Optimization
  9. Appendix A: Snowflake Data Type Reference

PowerExchange for Snowflake User Guide

PowerExchange for Snowflake User Guide

Snowflake Dynamic Mapping Example

Snowflake Dynamic Mapping Example

Your organization has a large amount of data that keeps changing. Your organization needs to incorporate all the updated data in a short span of time. Create a dynamic mapping, where you can refresh the source schema dynamically to fetch the updated data. Add all the dynamic ports to the target to override the metadata of the existing ports.
  1. Import the Snowflake read and write data objects.
  2. Select a project or folder in the
    Object Explorer
    view.
  3. Click
    File
    New
    Mapping
    .
    The
    Mapping
    dialog box appears.
  4. Enter the name of the mapping in the
    Name
    field.
  5. Click
    Finish
    .
  6. Drag the data object into a mapping.
    The
    Snowflake Data Object Access
    dialog box appears.
  7. Select the
    Read
    option and click
    OK
    .
  8. In the
    Data Object
    tab, select the
    At runtime, get data object columns from the data source
    check box.
    The following image shows the
    Data Object
    tab:
    In the image, the 
					 At runtime, get data object columns from the data source check box is selected.
  9. Drag the data object into a mapping.
    The
    Snowflake Data Object Acess
    dialog box appears.
  10. Select the
    Write
    option and click
    OK
    .
  11. In the
    Ports
    tab, select the value of the
    Columns defined by
    as
    Mapping Flow
    .
    The following image shows the
    Ports
    tab:
    Select mapping flow to enable upstream mapping objects to update the incoming ports for the Write transformation.
  12. Select all the source incoming ports and add the ports to the target.
  13. Save and run the mapping.

0 COMMENTS

We’d like to hear from you!