incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: CQL support for compound columns
Date Thu, 29 Dec 2011 18:04:58 GMT
I've updated the wiki page at with a more in-depth
Background section that hopefully clears up where I'm going with this
sparse/dense business.

Eric mentioned on IRC that he's uneasy about the PRIMARY KEY syntax
implicitly using the first element of PRIMARY KEY as the row key.  We
could make it explicit with another WITH option to the TRANSPOSED

CREATE TABLE timeline (
    user_id int,
    posted_at uuid,
    column string,
    value blob,
    PRIMARY KEY(user_id, posted_at)

This makes things more verbose (this would be a required clause) but
I'm okay with that if consensus is that being explicit here is better.

View raw message