Click to copy

• Reviewed for ksqlDB 0.29

How to Get the Schema of a Table in ksqlDB

To find out the schema of a table, use the DESCRIBE statement :

DESCRIBE scores_table;

which returns :

Name                 : SCORES_TABLE
 Field      | Type
---------------------------------------------
 STUDENT_ID | BIGINT           (primary key)
 NAME       | VARCHAR(STRING)
 SCORE      | DOUBLE
---------------------------------------------
Discover what readers are saying
topictale
Get easy to digest how-tos on ksqlDB
Sign up
Please read our Privacy Policy to understand how we protect and manage your data.
You may also like