[jira] [Updated] (CASSANDRA-5341) Select writetime Exception when data doesn't exist

2013-03-25 Thread Sylvain Lebresne (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-5341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylvain Lebresne updated CASSANDRA-5341:


Attachment: 5341.txt

Patch attached.

> 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
> Attachments: 5341.txt
>
>
> 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


[jira] [Updated] (CASSANDRA-5341) Select writetime Exception when data doesn't exist

2013-04-01 Thread Jonathan Ellis (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-5341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-5341:
--

Reviewer: iamaleksey

> 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
>Assignee: Sylvain Lebresne
>Priority: Minor
> Fix For: 1.2.4
>
> Attachments: 5341.txt
>
>
> 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