Syntax
Parameters
In RisingWave Cloud, the default AWS credential provider chain is disabled. Provide
s3.credentials.access and s3.credentials.secret (or use a supported assume-role setup). These credentials cannot be omitted. The enable_config_load option is supported only in self-hosted deployments.Example
Advanced topics
For more information about encodeParquet or JSON, see Sink data in parquet or json format.
For more information about batching strategy, see Batching strategy for file sink.
Multiple output files during backfill
When a sink is created, RisingWave performs an initial backfill of the upstream table. Because a file is finalized when eitherrollover_seconds (default: 10) or max_row_count (default: 10240) is reached, a table with more than 10,240 rows will produce multiple output files under the configured s3.path. Seeing roughly 10K rows in a single file does not mean data is missing.
To verify that all rows were delivered, list all objects under the sink path and sum their row counts:
max_row_count and rollover_seconds when creating the sink if you need different file sizes.