information_schema.streams view to return information about each stream in your Firebolt account. The view contains one row for each stream. Use a SELECT query to return information about each stream as shown in the example below.
Columns in information_schema.streams
Each row has the following columns with information about each stream:| Column Name | Data Type | Description |
|---|---|---|
| stream_catalog | TEXT | The name of the database that contains the stream. |
| stream_schema | TEXT | The name of the schema that contains the stream. |
| stream_name | TEXT | The name of the stream. |
| stream_type | TEXT | The type of the stream source. Currently always KAFKA. |
| stream_owner | TEXT | The owner of the stream. |
| created | TIMESTAMPTZ | The timestamp when the stream was created. |
| ddl | TEXT | The CREATE STREAM statement used to create this stream, with credentials masked for security. |
| description | TEXT | Optional metadata describing the stream’s purpose. |
| consumer_group | TEXT | The Kafka consumer group identifier used by this stream. |
| offsets | TEXT | A JSON array of per-partition consumer offsets, for example [{"partition_id":0,"offset":42}]. This column is only populated when explicitly selected. |
Examples
View all streams
View stream offsets
Theoffsets column returns a JSON array with per-partition consumer offset positions. It is only populated when explicitly selected:
View stream DDL
Theddl column contains the original CREATE STREAM statement with credentials masked:
Filter streams by schema
Notes
- All identifiers are case-insensitive unless enclosed in double-quotes.
- The
offsetscolumn is lazily evaluated and only populated when explicitly included in theSELECTlist. - The
ddlcolumn masks credential values for security. - For more information about object identifiers, see Object identifiers.