Snowflake - Merge action

This action merges data between two tables in Snowflake, allowing you to insert or update rows in a target table by matching values with a source table.

Ensure that both tables have an identical schema. This action only supports the following cases:

  • Values that match (for updates).
  • Values that do not match (for inserts).

Input

Input fieldDescription
Source tableChoose the source table or enter a custom table name. This table provides the data for the merge.
Target tableChoose the target table or enter a custom table name. This table receives the merged data.
Join expressionDefine the merge condition. You can choose from the source and target table columns or enter it manually.

Output

Output fieldDescription
Rows affectedThe total number of rows affected by the merge operation.
Rows updatedThe number of rows updated in the target table.
Rows insertedThe number of rows inserted into the target table.

Last updated: