Creates one or more rows at specified times, and inserts them into a stream or window.
The Insert Values statement produces rows of data at specified times and publishes them to its destination data stream or window. This statement executes only at the times specified by the OUTPUT clause.
In order for an Insert Values statement to produce output when you set synchronization to "Use message timestamp," a row must arrive on an input stream.
INSERT
VALUES
OUTPUT
This example inserts two rows of one column each into the Sites data stream when the project first starts running:
INSERT INTO Sites VALUES ('New York'), ('London') OUTPUT AT STARTUP;