cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien campan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5341) Select writetime Exception when data doesn't exist
Date Wed, 13 Mar 2013 15:16:13 GMT
julien campan created CASSANDRA-5341:
----------------------------------------

             Summary: Select writetime  Exception when  data doesn't exist
                 Key: CASSANDRA-5341
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5341
             Project: Cassandra
          Issue Type: Bug
          Components: API
    Affects Versions: 1.2.2
            Reporter: julien campan
            Priority: Minor


Hi,

When I try do to a “select writetime” on a empty column, I have an Exception. 
For example : 
Create table test (id  int, value int, value2 int, primary key (id));	
INSERT INTO test (id, value ) VALUES ( 1,100) ;

select * from test where id =1; 
==>
 id | value | value2
----+-------+--------
  1 |   100 |   null	

It’s working.

select WRITETIME(value) from test where id =1; 
==>
 writetime(value)
------------------
 1363184789539000
It’s working


select WRITETIME(value2) from test where id =1; 

==>TSocket read 0 bytes

I have an Exception.


--
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

Mime
View raw message