cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8216) Select Count with Limit returns wrong value
Date Wed, 29 Oct 2014 19:32:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188844#comment-14188844
] 

Philip Thompson commented on CASSANDRA-8216:
--------------------------------------------

{code} 0cad81aeb9ddaf5dad8b2ab9c6ff6955402c9310 is the first bad commit
commit 0cad81aeb9ddaf5dad8b2ab9c6ff6955402c9310
Author: Benjamin Lerer <benjamin.lerer@datastax.com>
Date:   Tue Oct 7 12:18:52 2014 +0200

    Add support for aggregation functions

    patch by blerer; reviewed by slebresne for CASSANDRA-4914

:100644 100644 d10747c9f0c9db471ab2fa06350739f584941da8 132396ec68ddb17f954e11868ed6d25f41ce3abb
M	CHANGES.txt
:040000 040000 001fd67ee56589270d57bc74e45beba29f02959a 0f5ed97b546ba4d0d26b2050667e3b70aee619c1
M	src
:040000 040000 54f62d2c82dea2ae2f50faaf3917ea306e245f92 1868af191ae31a38beae7d06a47af0377c810439
M	test
{code} is what I get from git bisect

> Select Count with Limit returns wrong value
> -------------------------------------------
>
>                 Key: CASSANDRA-8216
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8216
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Philip Thompson
>            Assignee: Benjamin Lerer
>             Fix For: 3.0
>
>
> The dtest cql_tests.py:TestCQL.select_count_paging_test is failing on trunk HEAD but
not 2.1-HEAD.
> The query {code} select count(*) from test where field3 = false limit 1; {code} is returning
2, where obviously it should only return 1 because of the limit. This may end up having the
same root cause of #8214, I will be bisecting them both soon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message