mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 11:00:35 +00:00
In thrift, a static column family is one where all columns are defined upon schema creation. It maps to a CQL table with a singular partition key and a set of regular columns. On the other hand, a dynamic column family is one which allows column to be dynamically added by insertion requests. It maps to a CQL table with a partition key and a clustering key, which will hold the names of the dynamic columns, and a regular column, which will how the respective values. If the thrift comparator type is composite, then there will be a clustering column for each of the composite's components. There can also be mixed column families; supporting those is future work. Signed-off-by: Duarte Nunes <duarte@scylladb.com>