Consider the following table:
with the following data:
Currently, CQL3 allows to slice over either c1 or c2:
but you cannot express a query that return the 3 last records. Indeed, for that you would need to do a query like say:
but we don't support that.
This can make it hard to paginate over say all records for k = 0 (I'm saying "can" because if the value for c2 cannot be very large, an easy workaround could be to paginate by entire value of c1, which you can do).
For the case where you only paginate to avoid OOMing on a query,
CASSANDRA-4415 will that and is probably the best solution. However, there may be case where the pagination is say user (as in, the user of your application) triggered.
I note that one solution would be to add the OR support at least in case like the one above. That's definitively doable but on the other side, we won't be able to support full-blown OR, so it may not be very natural that we support seemingly random combination of OR and not others.
Another solution would be to allow the following syntax:
which would literally mean that you want records where the values of c1 and c2 taken as a tuple is lexicographically greater than the tuple (0, 0). This is less SQL-like (though maybe some SQL store have that, it's a fairly thing to have imo?), but would be much simpler to implement and probably to use too.