- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 52字
- 2021-07-03 00:19:34
Beyond two columns
We've now seen a table with two columns in its primary key: a partition key and a clustering column. As it turns out, neither of these roles is limited to a single column. A table can define one or more partition key columns and zero or more clustering columns.