Re: CQL results are confusing me

2012-08-20 Thread Juan Ezquerro
am simply trying to determine if a user already exists with a specific > email address or with a specific user name. Item #4 is the most confusing, > what is going on? > -- Juan Ezquerro LLanes Telf: 618349107/964051479

Re: CQL logical operator: OR

2012-08-20 Thread Juan Ezquerro
m'; > Bad Request: line 1:40 mismatched input 'or' expecting EOF > > Could someone tell me how to use OR conditions in CQL? I am able to find > examples of AND, but none for OR and it doesn't seem to work. > > > -- Juan Ezquerro LLanes Telf: 618349107/964051479

Re: Create column family fail

2012-06-26 Thread Juan Ezquerro
Ok the '--' was the problem ... LOL 2012/6/26 Juan Ezquerro > Hi, > > I create this column family: > > > CREATE COLUMN FAMILY Clients > WITH column_type='Super' > AND key_validation_class = LongType -- master_id > A

Create column family fail

2012-06-26 Thread Juan Ezquerro
pache.cassandra.db.compaction.SizeTieredCompactionStrategy' and caching = 'KEYS_ONLY' and compression_options = {'sstable_compression' : 'org.apache.cassandra.io.compress.SnappyCompressor'} Only happend with that column family and i don't know why. Comparator and subcomparator look bad too. Can help please? -- Juan Ezquerro LLanes Telf: 618349107/964051479

Re: composite key

2012-06-23 Thread Juan Ezquerro
s case I believe that the supercolumn approach can be valid. This CF only store a little amount of data for any user and no often changes, i think a supercolumn and some file caching of results can be a nice solution with no penalty in performance. -- Juan Ezquerro LLanes Telf: 618349107/964051479

composite key

2012-06-22 Thread Juan Ezquerro
type: KEYS} ]; The key are like: 1:12345 1:67890 6:12345 6:67890 11:12345 11:67890 I would like to get keys who start with 1, i try with for example: $start = array(1); $end = array(1); $cf->get_range($start,$end); I try a lot of combo but not work, can help please? I expect: 1:12345 1:67

Strange behavior ¿data corruption?

2012-06-21 Thread Juan Ezquerro
t. Did you see something like that before? Suggestions for debug? -- Juan Ezquerro LLanes Telf: 618349107/964051479

Modeling data

2012-06-14 Thread Juan Ezquerro
nge?? something like get_range(array(user_uuid,) , array(user_uuid,)) ?? Please can help? -- Juan Ezquerro LLanes Telf: 618349107/964051479

Composite as row key

2012-06-14 Thread Juan Ezquerro
type: KEYS} ]; But i think that is not a nice solution because y always need to search in all rows of very big tables to take all user's data... Please.... can help? Thanks. -- Juan Ezquerro LLanes Telf: 618349107/964051479

Composite metadata

2012-04-30 Thread Juan Ezquerro
definition is wrong, which is the correct way? -- Juan Ezquerro LLanes Telf: 618349107/964051479

New to cassandra

2012-04-24 Thread Juan Ezquerro
Hi, Is it possible to perform a search in supercolumn metadata? Supercolumn do not accept secondary index sothat is not possible? -- Juan Ezquerro LLanes