Creating a Snowflake table - 7.0

Snowflake

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Cloud storages > Snowflake components
Data Quality and Preparation > Third-party systems > Cloud storages > Snowflake components
Design and Development > Third-party systems > Cloud storages > Snowflake components
EnrichPlatform
Talend Studio
Configure the tSnowflakeRow component to create a new table.

Procedure

  1. Double-click the tSnowflakeRow component to open its Basic settings view on the Component tab.
  2. From the Connection Component drop-down list, select the tSnowflakeConnection component to reuse the connection created by it. In this example, it is tSnowflakeConnection_1.
  3. In the Query field, enter the SQL statement used to create a new table into which the data will be written.

    In this example, the following SQL statement is used to create or replace a table EMPLOYEE with four columns, ID of INT type, NAME of VARCHAR type, ONBOARD of DATE type, and SALARY of VARIANT type.

    "CREATE OR REPLACE TABLE EMPLOYEE (" +
    "ID INT NOT NULL primary key," +
    "NAME VARCHAR (50), " +
    "ONBOARD DATE," +
    "SALARY VARIANT" +
    ") COMMENT = 'Created By Doc Team'"