You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by tommaso barbugli <tb...@gmail.com> on 2014/07/15 12:06:31 UTC
order by on different columns
Hi,
We need to retrieve the data stored in cassandra on something different
than its "natural" order; we are looking for possible ways to sort results
from a column family data based on columns that are not part of the primary
key; is denormalizing the data on another column family the only option to
do this?
Thanks,
Tommaso
Re: order by on different columns
Posted by Jens Rantil <je...@tink.se>.
Yes, either denormalizing or sorting in your client.
Cheers,
Jens
—
Sent from Mailbox
On Tue, Jul 15, 2014 at 12:07 PM, tommaso barbugli <tb...@gmail.com>
wrote:
> Hi,
> We need to retrieve the data stored in cassandra on something different
> than its "natural" order; we are looking for possible ways to sort results
> from a column family data based on columns that are not part of the primary
> key; is denormalizing the data on another column family the only option to
> do this?
> Thanks,
> Tommaso