DESCRIBE STREAM¶

Describes the columns in a stream.

DESCRIBE can be abbreviated to DESC.

See also:

DROP STREAM , ALTER STREAM , CREATE STREAM , SHOW STREAMS

Syntax¶

DESC[RIBE] STREAM <name>
Copy

Parameters¶

name

Specifies the identifier for the stream to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage Notes¶

  • To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.

Examples¶

Create an example stream:

CREATE STREAM mystream ( ... );
Copy

Describe the columns in the stream:

DESC STREAM mystream;
Copy