Prerequisites
Before you begin, make sure you have:- A running RisingWave cluster.
- (Optional) An Iceberg compactor if you plan to sink upsert streams. Contact our support team if needed.
- A Snowflake cluster
- S3 bucket
- AWS Glue or an Iceberg REST catalog
Catalog and warehouse
Recommended Iceberg catalogs:- AWS Glue catalog.
- REST catalog. It could be any catalogs compatible with Iceberg rest openapi spec.
Sink data from RisingWave into Iceberg
Follow the instruction to create a sink to sink your data into Iceberg table.Glue + S3 (append-only)
REST catalog + S3
For
upsert
type, since Snowflake doesn’t support reading equality delete files, please use Copy-on-Write mode write_mode = 'copy-on-write'
and enable the Iceberg compaction as well. The compaction_interval_sec
determines the freshness of the Iceberg table, since Copy-on-Write mode relies on the Iceberg compaction.