DESCRIBE Statement


Confluent Cloud for Apache Flink®️ is currently available for Preview. A Preview feature is a Confluent Cloud component that is being introduced to gain early feedback from developers. Preview features can be used for evaluation and non-production testing purposes or to provide feedback to Confluent. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Confluent may discontinue providing Preview releases of the Preview features at any time in Confluent’s sole discretion. Check out Getting Help for questions, feedback and requests.

For SQL features and limitations in the preview program, see Notable Limitations in Public Preview.

Confluent Cloud for Apache Flink®️ enables vewing the schema of an Apache Kafka® topic.


{ DESCRIBE | DESC } [EXTENDED] [catalog_name.][db_name.]table_name


DESCRIBE shows the schema of a table. DESCRIBE EXTENDED shows the schema of a table including system columns, such as the the timestamp.


In the Confluent CLI, run the following commands to see an example of the DESCRIBE statement.

  1. Create a table.

    CREATE TABLE orders (
      `user` BIGINT NOT NULL,
      product STRING,
      amount INT,
      ts TIMESTAMP(3),

    Your output should resemble:

    [INFO] Execute statement succeed.
  2. View the table’s schema.

    DESCRIBE orders;

    Your output should resemble:

    |    name |                        type |  null |       key |        extras |                  watermark |
    |    user |                      BIGINT | FALSE | PRI(user) |               |                            |
    | product |                 VARCHAR(32) |  TRUE |           |               |                            |
    |  amount |                         INT |  TRUE |           |               |                            |
    |      ts |      TIMESTAMP(3) *ROWTIME* |  TRUE |           |               | `ts` - INTERVAL '1' SECOND |
    |   ptime | TIMESTAMP_LTZ(3) *PROCTIME* | FALSE |           | AS PROCTIME() |                            |
    5 rows in set