CREATE SOURCE
statement. In the WITH clause, provide the catalog and object storage settings for the table.
After the source is created, you can run ad hoc queries against it or maintain materialized views for continuous analytics.
Prerequisites
- An existing Apache Iceberg table managed by external systems.
- Access credentials for the underlying storage system (e.g., S3 access key and secret key).
- Network connectivity between RisingWave and your storage system.
- Knowledge of your Iceberg catalog type and configuration.
Basic connection example
The following example creates a source for a table in S3 using AWS Glue as the catalog:When you read from an external Iceberg table, RisingWave automatically derives column names and data types from the Iceberg table metadata. Use the DESCRIBE statement to view the schema:
Parameters
Parameter | Description | Example |
---|---|---|
connector | Required. For Iceberg sources, it must be 'iceberg' | 'iceberg' |
database.name | Required. The Iceberg database/namespace name. | 'analytics' |
table.name | Required. The Iceberg table name. | 'user_events' |
commit_checkpoint_interval | Optional. Determines the commit frequency (RisingWave commits every N checkpoints). | 60 |
CREATE SOURCE
statement. Because these parameters are shared across all Iceberg objects—sources, sinks, and internal Iceberg tables—they are documented separately.
- Object storage: Object storage configuration
- Catalogs: Catalog configuration