WITH clause of a CREATE SOURCE statement.
Syntax
You don’t need to specify the column names for the Iceberg source, as RisingWave can derive them from the Iceberg table metadata directly. Use the DESCRIBE statement to view the column names and data types.
Parameters
Storage configuration (S3-compatible)
To integrate RisingWave with Iceberg tables stored in S3-compatible object storage, you must provide the necessary connection details. These configurations tell RisingWave exactly where your data warehouse resides and how to authenticate and access it.Basic connection
These parameters configure the connection to the underlying S3-compatible storage system where the Iceberg data files are stored. This includes AWS S3, MinIO, and other compatible services.Use Amazon S3 Tables with the Iceberg source
You can configure the RisingWave Iceberg source connector to read data from Iceberg tables managed by Amazon S3 Tables. This allows you to ingest data into RisingWave directly from tables registered in your S3 Tables catalog. To set this up, specifyconnector = 'iceberg' and catalog.type = 'rest' within your CREATE SOURCE statement. You must also include the necessary parameters for SigV4 authentication against the S3 Tables REST API.
Required REST Catalog parameters for S3 Tables:
While these parameters might be optional in general Iceberg source configurations, they are required when catalog.type = 'rest' is used to connect to Amazon S3 Tables:
For details on general source parameters, see Basic connection.
Example
CREATE SOURCE Statement:
This example creates a RisingWave source named my_s3_tables_source that reads from an Iceberg table named <your-table-name> within the <your-database-name> database managed by Amazon S3 Tables.
Replace placeholder values (
<...>) with your specific AWS account, region, bucket, database, table names, and credentials.Storage configuration (GCS)
These parameters configure the connection to the underlying GCS storage system where the Iceberg data files are stored.Catalog configuration
These parameters configure the Iceberg catalog. The catalog is responsible for managing table metadata (schema, partitioning, location). RisingWave supports several catalog types.Other parameters
Time travel
RisingWave supports querying historical data from Iceberg tables (time travel). You can query data as of a specific timestamp or snapshot ID.Syntax
Examples
timestamp with time zone type.
System tables
RisingWave offers system tables for querying Iceberg metadata:rw_iceberg_files: Contains information about the current data files of the Iceberg table.rw_iceberg_snapshots: Contains information about all snapshots of the Iceberg table.