Table of Contents

Search

  1. Preface
  2. Part 1: Getting Started with Snowflake Data Cloud Connector
  3. Part 2: Data Integration with Snowflake Data Cloud Connector
  4. Part 3: SQL ELT with Snowflake Data Cloud Connector
  5. Appendix A: Data type reference
  6. Appendix B: Additional runtime configurations
  7. Appendix C: Upgrading to Snowflake Data Cloud Connector

Snowflake Data Cloud Connector

Snowflake Data Cloud Connector

Capturing changed data from CDC sources

Capturing changed data from CDC sources

You can use Snowflake Data Cloud Connector to write changed data from a CDC source such as Oracle CDC and Oracle CDC V2 and write the changed data to a Snowflake target.
When you configure a mapping, add the CDC sources and then run the associated mapping task to write the changed data to Snowflake. If you define a column as required in the Snowflake target table, map a column in the CDC source to the required column in the Snowflake target in the mapping before you run the task.
When the mapping task processes the changed data from a CDC source, Snowflake Data Cloud Connector creates a state table in Snowflake. When the changed data is received from the CDC source, Snowflake Data Cloud Connector uploads the changed data to the staging table. Then, it generates a
Job_Id
and writes the
Job_Id
to the state table along with the restart information.
The connector then merges the stage table with the actual target table in Snowflake. Each time you run the mapping task, Snowflake Data Cloud Connector creates the state table, if it does not exist, to store the state information.
Snowflake Data Cloud Connector uses the following naming convention for the tables:
  • State table name:
    <MappingTaskID>_<Instance(s)>
  • Staging table name:
    <MappingTaskID>_<TargetInstanceName>

Restrictions

Consider the following restrictions when you capture changed data from CDC sources:
Mapping
You can use a Snowflake target in a CDC mapping to write data from CDC sources. You cannot use a Snowflake source or lookup in a CDC mapping.
staging optimization property
The optimization property that you set for staging data in the DTM of the Secure Agent is not applicable. If you run a mapping with both CDC and staging property enabled, the mapping runs successfully. However, staging optimization is disabled and you can view a message logged in the session logs.
Recovery initialization error
When you run a CDC mapping to write data from a CDC source to a Snowflake target created at runtime, you might encounter the following error:
Error occured while initializing CCI State Handler com.informatica.cci.runtime.internal.utils.impl.CExceptionImpl: Internal error: Recovery Init failed
To avoid this error, you must have the grant permissions to create a table in Snowflake.
DTM error
When you run a CDC mapping that uses a Snowflake target connection configured with the ProcessConnDB and ProcessConnSchema parameters in the
Additional JDBC URL Parameters
field, the mapping might fail with the following DTM error:
Internal error. The DTM process terminated unexpectedly. Contact Informatica Global Customer Support.
To avoid this error, remove the ProcessConnDB and ProcessConnSchema parameters from the
Additional JDBC URL Parameters
field in the Snowflake Data Cloud connection. However, if you want to create temporary stage tables and recovery state tables using the ProcessConnDB and ProcessConnSchema parameters, verify that you have the necessary permissions in the required database and schema.

0 COMMENTS

We’d like to hear from you!