I have been faced with a problem of grouping composites on the second-part.

Lets say my CF contains this


TimeSeriesCF
                       key:                            UserID
                       composite-col-name:    TimeUUID:PKID

Some sample data

UserID = XYZ
                                 Time:PKID
               Col-Name1 = 200:1000
               Col-Name2 = 201:1001
               Col-Name3 = 202:1000
               Col-Name4 = 203:1000
               Col-Name5 = 204:1002

Whenever a time-series query is issued, it should return the following in
time-desc order.

UserID = XYZ
              Col-Name5 = 204:1002
              Col-Name4 = 203:1000
              Col-Name2 = 201:1001

Is something like this possible in Cassandra? Is there a different way to
design and achieve the same objective?

--
Ravi

Reply via email to