cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6857) SELECT DISTINCT with a LIMIT is broken by paging
Date Fri, 21 Mar 2014 17:47:43 GMT


Tyler Hobbs commented on CASSANDRA-6857:

Thanks.  I thought something might be missing; that makes sense.

It looks like some a ColumnFamilyStoreTest method needs to be updated for the 2.0 patch to
compile (you just need to add the countCQL3Rows argument to two makeExtendedFilter() calls).
 Other than that, +1.

> SELECT DISTINCT with a LIMIT is broken by paging
> ------------------------------------------------
>                 Key: CASSANDRA-6857
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 2.0.7
>         Attachments: 6857-2.0-v2.txt, 6857-2.0.txt, 6857-2.1.txt
> The paging for RangeSliceCommand only support the case where we count CQL3 rows . However,
in the case of SELECT DISTINCT, we do actually want to use the "count partitions, not CQL3
row" path and that's currently broken when the paging commands are used (this was first reported
on the [Java driver JIRA|] and there is
a reproduction script there).

This message was sent by Atlassian JIRA

View raw message