mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 11:00:35 +00:00
Starting from cqlsh 6.0.0, execution of the describe statement was moved from the client to the server. This patch implements server-side describe statement. It's done by simply fetching all needed keyspace elements (keyspace/table/index/view/UDT/UDF/UDA) and generating the desired description or list of names of all elements. The description of any element has to respect CQL restrictions(like name's quoting) to allow quickly recreate the schema by simply copy-pasting the descritpion.