cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7081) select writetime(colname) returns 0 for static columns
Date Wed, 30 Apr 2014 19:02:20 GMT

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

Tyler Hobbs commented on CASSANDRA-7081:
----------------------------------------

+1

> select writetime(colname) returns 0 for static columns
> ------------------------------------------------------
>
>                 Key: CASSANDRA-7081
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7081
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Nicolas Favre-Felix
>            Assignee: Sylvain Lebresne
>             Fix For: 2.0.8
>
>         Attachments: 7081.txt
>
>
> Selecting the write time for a static column returns 0 in Cassandra 2.0 (c3550fe) and
an expected timestamp in 2.1 (trunk, acdbbb9). Would it be possible to include this timestamp
in a 2.0 release too?
> {code}
> > CREATE TABLE test (partition_key text, cluster_key text, data text, st text static,
PRIMARY KEY(partition_key, cluster_key));
> > INSERT INTO test (partition_key, cluster_key, data, st) VALUES ( 'PK', 'CK', 'DATA',
'ST');
> > SELECT writetime(st), writetime(data) FROM test where partition_key='PK';
>  writetime(st) | writetime(data)
> ---------------+------------------
>              0 | 1398314681729000
> (1 rows)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message