[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cassandra-commits
Subject:    [jira] [Commented] (CASSANDRA-4882) Short read protection don't count columns correctly for CQL3
From:       "Jonathan Ellis (JIRA)" <jira () apache ! org>
Date:       2012-10-31 17:21:12
Message-ID: 1032372428.51437.1351704072974.JavaMail.jiratomcat () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/CASSANDRA-4882?page=com.atlassian.jira.plu \
gin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487981#comment-13487981 \
] 

Jonathan Ellis commented on CASSANDRA-4882:
-------------------------------------------

LGTM.

Nit: would prefer avoiding allocating unnecessary HashSet in trim when the common \
case is not to need to trim.  
> Short read protection don't count columns correctly for CQL3
> ------------------------------------------------------------
> 
> Key: CASSANDRA-4882
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4882
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.0 beta 1
> Reporter: Patrick McFadin
> Assignee: Sylvain Lebresne
> Fix For: 1.2.0 beta 2
> 
> Attachments: 4882.txt
> 
> 
> Using the same schema defined in \
> https://issues.apache.org/jira/browse/CASSANDRA-4881 select * from video_event;
> videoid_username                           | event | event_timestamp | \
>                 video_timestamp
> --------------------------------------------+-------+-----------------+--------------------------
>  99051fe9-6a9c-46c2-b949-38ef78858dd0:ctodd | start |    1346636100.0 | 2012-09-02 \
> 18:35:00+0000 99051fe9-6a9c-46c2-b949-38ef78858dd0:ctodd | start |    1346634300.0 \
> | 2012-09-02 18:05:00+0000 99051fe9-6a9c-46c2-b949-38ef78858dd0:ctodd |  stop |    \
> 1346636250.0 | 2012-09-02 18:37:30+0000 99051fe9-6a9c-46c2-b949-38ef78858dd0:ctodd \
> |  stop |    1346634330.0 | 2012-09-02 18:05:30+0000 And this:
> select * from video_event where videoid_username = \
> '99051fe9-6a9c-46c2-b949-38ef78858dd0:ctodd' limit 1; videoid_username              \
>                 | event | event_timestamp | video_timestamp
> --------------------------------------------+-------+-----------------+-----------------
>  99051fe9-6a9c-46c2-b949-38ef78858dd0:ctodd | start |    1346636100.0 |            \
> null As you can see, we have some different output based on the select statement. \
> The timestamp in both is formatted as a float or a double. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic