Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
cassandra 2.1.14, driver 2.1.7.1
-
Normal
Description
This can be easily reproduced and fetch size is smaller than the correct number of rows.
A table has 2 partition key, 1 clustering key, 1 column.
> Select select = QueryBuilder.select().from("ks", "cf");
> select.where().and(QueryBuilder.eq("a", 1));
> select.where().and(QueryBuilder.in("b", Arrays.asList(1, 1, 1)));
> select.setFetchSize(5);
Now we put a distinct method in client side to eliminate the duplicated key, but it's better to fix inside Cassandra.
Attachments
Attachments
Issue Links
- is related to
-
CASSANDRA-8276 Duplicate values in an IN restriction on the partition key column can break paging
- Resolved
- relates to
-
CASSANDRA-12722 dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_2_1_x.in_order_by_without_selecting_test
- Resolved