cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Shuler <>
Subject Re: Cassandra table definition with no clustering key
Date Sat, 15 Jul 2017 03:56:24 GMT
I think this note in the partition key section is what you might be
looking for?

"Note that a table always has a partition key, and that if the table has
no clustering columns, then every partition of that table is only
comprised of a single row (since the primary key uniquely identifies
rows and the primary key is equal to the partition key if there is no
clustering columns)."

Kind regards,

On 07/14/2017 06:59 PM, preetika tyagi wrote:
> Hi all,
> I'm trying to understand the scenario when no clustering key is
> specified in a table definition.
> If a table has only a partition key and no clustering key, what order
> the rows under the same partition are stored in? Is it even allowed to
> have multiple rows under the same partition when no clustering key
> exists? I tried searching for it online but couldn't get a clear
> explanation.
> Thanks,
> Preetika

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message