I am trying to understand the basics of Cassandra's data model. I am using CQL. As I know, a schema needs to be defined before anyone can insert into new columns. If someone needs to add any column, you can use ALTER TABLE and the INSERT value for this new column.
But the final guide to Cassandra says that Cassandra is less than a circuit.
In Cassandra, you don't define the columns up front; you just define the column
families you want in the keyspace, and then you can start writing data without defining
the columns anywhere. That's because in Cassandra, all of a column's names are
supplied by the client.
I got confused and did not find the expected answer. Can someone please explain this to me or tell me if I am missing something?
Thanks in advance.
source share