cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <>
Subject Re: JSON Order By
Date Fri, 02 Oct 2015 15:34:52 GMT
On Thu, Oct 1, 2015 at 9:11 AM, Ashish Soni <> wrote:

> I have a below structure stored in cassandra and i would like to get the
> internal array sorted by a property when i select it , Please let me know
> if there is way to do that .
> I need to sort the rules Array by property ruleOrder when i select

Unfortunately, that's not possible. Cassandra can only order result rows by
the clustering columns.  The new JSON functionality doesn't change this, it
just adds a new input/output format.  You'll need to sort the results

Tyler Hobbs
DataStax <>

View raw message