A streaming job is a job that creates a materialized view, a table, a sink, or an index. When background DDL is enabled viaDocumentation Index
Fetch the complete documentation index at: https://docs.risingwave.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
SET BACKGROUND_DDL, these creation commands return immediately while the actual backfill runs in the background. The WAIT command lets you pause your session until a specific job — or all in-progress jobs — complete.
Syntax
- With no target,
WAITblocks until all background streaming jobs finish (timeout: 2 hours). - With a target,
WAITblocks until the specified object’s creation job finishes.
Parameters
| Parameter | Description |
|---|---|
TABLE table_name | Wait for the background creation job of the specified user table. |
MATERIALIZED VIEW mv_name | Wait for the background creation job of the specified materialized view. |
SINK sink_name | Wait for the background creation job of the specified sink. |
INDEX index_name | Wait for the background creation job of the specified index. |