Skip to main content
Version: 0.17

CREATE STREAM

Creates a stream, source stream, or sink stream.

Syntax

Syntax
CREATE [STREAM | SOURCE STREAM | SINK STREAM] <stream_name> (
<column_name> <data_type> <column_constraints*>
, ...
)

Example

Example
CREATE SOURCE STREAM source_temperature_celsius (
ts TIMESTAMP NOT NULL ROWTIME,
temperature FLOAT NOT NULL
)