UpdateSnowflakeIcebergDatabase 2025.10.9.21

Bundle

com.snowflake.openflow.runtime | runtime-snowflake-processors-nar

Description

Updates the definition of a Snowflake Iceberg table. A target schema can be inferred from a RecordReader or defined explicitly using the format below: { “columns”: [ { “name”: “<column name>”, “type”: “<iceberg data type>” }, … ] } where <iceberg data type> can be one of: - primitive iceberg type (“string”, “int”, “boolean”,…) - decimal with given precision and scale (“decimal(P,S)”) - {“type”: “list”, “element”: <iceberg data type>} - {“type”: “map”, “key”: <iceberg data type>, “value”: <iceberg data type>} - {“type”: “struct”, “fields”:[<list of struct fields>] }

Tags

iceberg

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Add Column StrategyThe strategy to use when the incoming schema has a column that is not present in the existing table
Alter Column StrategyThe strategy to use when a column has different data type in the incoming schema from the existing table
Alter Column Type StrategyThe strategy to use when the existing table has a column with a different type than the incoming schema.
Connection PoolThe connection pool to use to connect to Snowflake
Desired SchemaThe desired schema / table definition
Drop Column StrategyThe strategy to use when the existing table has a column that is not present in the incoming schema
Max Batch SizeThe maximum number of FlowFiles that can be processed in a single execution for a given table.
Record ReaderRecord Reader to use for obtaining the desired schema
Schema NameThe name of the schema to update
Table Metadata Cache Expiration TimeThe time in seconds after which the cache entry will be removed
Table NameThe name of the table to update
Table Schema StrategySpecifies how to obtain the desired schema / table definition
Use Table Metadata CacheWhether to cache table’s metadata instead of reading it directly from Snowflake

Relationships

NameDescription
failureThe incoming FlowFile is routed to this relationship if the table cannot be updated
illegal alterationThe incoming FlowFile is routed to this relationship if the update requires an alteration that is configured to fail
successThe incoming FlowFile is routed to this relationship after the table has been updated successfully
table not foundThe incoming FlowFile is routed to this relationship if the specified table does not exist.

Writes attributes

NameDescription
schema.hashA hexadecimal-encoded SHA-256 hash of the final table schema after all updates have been completed.