Prerequisites
- A running RisingWave cluster (self-hosted or RisingWave Cloud) and access to run SQL.
- AWS CLI configured with credentials (AK/SK).
- Amazon S3 Tables is available in your region.
- An existing S3 Tables Iceberg table.
Demo: deliver to and read from an external Iceberg table in RisingWave
Set variables
If you created the table bucket + namespace using AWS CLI by following Create Amazon S3 Tables with AWS CLI, you should already haveREGION, TABLE_BUCKET_ARN, and NAMESPACE, amd TABLE.
Start psql and pass parameters
This command opens an interactive psql session with variables preloaded.
Step 1: Create a sink to the external table
Step 2: Insert some rows
Step 3: Create a source and query the external table
Use DuckDB to query data
Cleanup (optional)
What you just built
- A table that is managed by Amazon S3 Tables (catalog + storage), not by RisingWave.
- RisingWave acting as both a writer (
SINK) and a reader (SOURCE) through the Iceberg connector.