Prerequisites
- An existing Apache Iceberg table.
- Access credentials for the underlying storage system (e.g., S3 access key and secret key).
- Network connectivity between RisingWave and your storage system.
- Know your Iceberg catalog type.
Connect to Iceberg
RisingWave supports connecting to Iceberg usingCREATE SOURCE
.
Currently, RisingWave does not support creating a table backed by an Iceberg table using CREATE TABLE ... WITH (connector=...)
.
If you create a table to store data, and ingest from the Iceberg source, the table is not an Iceberg table.
Basic connection example (S3)
The following example shows how to connect to an Iceberg table stored on S3:The example shows connecting to S3 compatible storage systems. For different catalog types and storage systems, please refer to Apache Iceberg configuration options.
Query data
You can select from an Iceberg source to query data from the Iceberg table in RisingWave.Create streaming jobs
Support for creating streaming jobs directly from Iceberg sources was added in v2.3.0. If your Iceberg source was created before this version, you must recreate it to enable streaming job creation.
Data type mapping
RisingWave converts data types from Iceberg to RisingWave according to the following table:Iceberg Type | RisingWave Type |
---|---|
boolean | boolean |
integer | int |
long | bigint |
float | real |
double | double |
string | varchar |
date | date |
timestamptz | timestamptz |
timestamp | timestamp |
decimal | decimal |
Time travel
RisingWave’s Iceberg source supports time travel. Please refer to Apache Iceberg configuration options for more details.System tables
RisingWave offers system tables to query Iceberg metadata. Please refer to Apache Iceberg configuration options for more details.What’s next?
- All configuration options: Apache Iceberg configuration options