select query returns wrong value if use DESC option

2014-03-13 Thread Katsutoshi Nagaoka
(1 rows) cqlsh:test> SELECT * FROM mytable WHERE key = 0 AND range = 0 ORDER BY range DESC; (0 rows) -- Why returns value is 0 rows if using DESC option? I expected the same 1 row as the return value of other queries. Does anyone has a similar issue? Thanks, Katsutoshi

Re: paging state will not work

2014-02-20 Thread Katsutoshi
Thank you for the reply. Added: https://issues.apache.org/jira/browse/CASSANDRA-6748 Katsutoshi 2014-02-21 2:14 GMT+09:00 Sylvain Lebresne : > That does sound like a bug. Would you mind opening a JIRA ( > https://issues.apache.org/jira/browse/CASSANDRA) ticket for it? > > >

paging state will not work

2014-02-18 Thread Katsutoshi
id=0, range=0, value=null id=0, range=1, value=null id=0, range=2, value=null id=0, range=3, value=null id=0, range=4, value=null id=0, range=5, value=null id=0, range=7, value=null id=0, range=9, value=null -- Result is 8 records although 10 records were expected. Does anyone has a similar issue? Thanks, Katsutoshi

select count query not working at cassandra 2.0.0

2013-09-19 Thread Katsutoshi
OM count_hash_test; key | value ------+--- key2 | value cqlsh:test> SELECT COUNT(*) FROM count_hash_test; count --- 0 ``` Could anyone help me for this? thanks. Katsutoshi

Re: Custom data type is not work at C* 2.0

2013-09-05 Thread Katsutoshi
you need to derive from > > > https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob;f=src/java/org/apache/cassandra/db/marshal/AbstractType.java;h=74fe446319c199433b47d3ae60fc4d644e86b653;hb=03045ca22b11b0e5fc85c4fabd83ce6121b5709b > > > > > On 09/04/2013 09:14 AM, Kats

Custom data type is not work at C* 2.0

2013-09-04 Thread Katsutoshi
erver-0.3.0.jar:/opt/cassandra/bin/../lib/jamm-0.2.5.jar (snip) ``` 3) Create column family that use DummyType. ``` cqlsh:test> CREATE TABLE test_cf ( key 'my.marshal.DummyType' PRIMARY KEY); Bad Request: Error setting type my.marshal.DummyType: Unable to find abstract-type class 'my.marshal.DummyType' ``` Thanks, Katsutoshi