CREATE INPUT STREAMstream_identifier(field_identifier field_type[, ...] );
-
stream_identifier -
A unique identifier (name) for the input stream.
-
field_identifier -
The unique identifier (name) for a field in the schema associated with the stream.
-
field_type -
One of the supported StreamBase data types as described in StreamBase Data Types. With a string type, the maximum length must be specified.
In StreamSQL, the CREATE INPUT STREAM statement is used to define an Input Stream. The types and order of fields contained in the incoming tuples must be included in the stream declaration. Each field declaration contains an identifier and type entry and multiple field entries are separated by commas. You must include the tuple fields as arguments to the CREATE INPUT STREAM statement; the statement CREATE INPUT STREAM () will result in a runtime error.
