Snowflake as Target - DSS 6 | Data Source Solutions Documentation

Documentation: Snowflake as Target - DSS 6 | Data Source Solutions Documentation

Snowflake as Target

Data Source Solutions DSS supports integrating changes into Snowflake location. This section describes the configuration requirements for integrating changes (using Integrate and Refresh) into Snowflake location. For the list of supported Snowflake versions into which DSS can integrate changes, see Integrate changes into location in Capabilities.

DSS uses the Snowflake ODBC driver to write data into Snowflake during Continuous Integrate and Row-wise Refresh.

The preferred methods for writing data into Snowflake are using Burst Integrate and Bulk Refresh as they provide better performance. However, it is required to create staging files on a temporary location to perform Burst Integrate and Bulk Refresh. For more information about staging, see section Staging for Snowflake.

Due to technical limitations, external staging on Azure for Snowflake is not supported in the DSS releases since 6.1.5/3 to 6.1.5/9.

Grants for Integrate and Refresh

This section lists the grants required for integrating changes into Snowflake.

  • The user (Role) should have permission to read and change replicated tables.

    grant all privileges on future tables in database <em>databasename</em> to role <em>rolename</em>;
    
    grant select, insert, update, delete, truncate on future tables in database <em>databasename</em> to role <em>rolename</em>;
    
  • The user (Role) should have permission to create and drop DSS state tables.

  • The user (Role) should have permission to create and drop tables when Refresh will be used to create target tables.

    grant usage, modify, create table on schema <em>schemaname</em> in database <em>databasename</em> to role <em>rolename</em>;
    

Intermediate Directory

{% partial file="dss6/requirements/source-and-target-requirements/intermediate-directory.template.md" /%}

Intermediate Directory is Local

{% partial file="dss6/requirements/source-and-target-requirements/intermediate-directory-local.template.md" /%}