Describes the columns in a stream.
DESCRIBE can be abbreviated to DESC.
- See also:
DESC[RIBE] STREAM <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.
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.
Create an example stream:
CREATE STREAM mystream ( ... );
Describe the columns in the stream:
DESC STREAM mystream;