Create Stream
    • Dark
      Light

    Create Stream

    • Dark
      Light

    Article Summary

    This article is specific to the following platforms - Snowflake.

    Create Stream Component

    Creates a new Snowflake Stream in the specified schema and table. This component can optionally replace an existing stream of the same name.

    Warning: Depending on the chosen settings, this component is destructive. Take care when running this component as it may remove existing data.


    Properties

    PropertySettingDescription
    NameTextA human-readable name for the component.
    Create/ReplaceSelectCreate: The default option, creates a new stream. This will generate an error if a stream with the same name already exists.
    Create if not exists: This will only create a new stream if a stream of the same name does not already exist.
    Replace: This destroys any existing stream of the same name, and then creates a new stream.
    DatabaseSelectChoose a database that contains the schema to create the stream in.
    SchemaSelectSelect the schema that will contain the stream. The special value, [Environment Default] will use the schema defined in the environment. For more information on using multiple schemas, see this article.
    Stream NameTextThe name of the stream.
    Table DatabaseSelectThe database that holds the source schema and source table.
    Table SchemaSelectThe schema that contains the source table.
    TableSelectThe table to create the stream for (i.e. the source table).
    Append OnlyBooleanBy default, a standard stream records all inserts, updates, and deletes. An append-only stream tracks row inserts only; updates and deletes are not recorded. Using an append-only stream will give improved performance over a standard stream, and therefore is recommended if you only need to track appends.
    To set the stream to be append only, select True. Otherwise, leave this property set to False (the default).

    Strategy

    A stream records data manipulation language (DML) changes made to a table, including information about inserts, updates, and deletes. It stores information in the stream every time a change is made. The table where changes are recorded is called the source table. Create Stream has two table inputs: the stream name, and the source table.

    For more information, please refer to the Snowflake documentation.