Roadmap/Changelog?

2012-10-27 Thread Timmy Turner
Hi everyone, I wrote a library/extension for Cassandra 0.8 a while back, and would like to update it to the current version now, however I can't really find any articles on what has changed in Cassandra. I read the changelog, but those points are too detailed, and it's hard to determine what impac

CQL3: Unknown property 'comparator'?

2012-10-29 Thread Timmy Turner
Does CQL3 not allow dynamic columns (column names) any more?

Re: CQL3: Unknown property 'comparator'?

2012-10-29 Thread Timmy Turner
/blog/cql3-for-cassandra-experts. > > -- > Sylvain > > On Mon, Oct 29, 2012 at 12:34 PM, Timmy Turner wrote: >> Does CQL3 not allow dynamic columns (column names) any more?

Re: idea drive layout - 4 drives + RAID question

2012-10-29 Thread Timmy Turner
I'm not sure whether the raid 0 gets you anything other than headaches should one of the drives fail. You can already distribute the individual Cassandra column families on different drives by just setting up symlinks to the individual folders. 2012/10/30 Ran User : > For a server with 4 drive slo

Re: CQL3: Unknown property 'comparator'?

2012-10-30 Thread Timmy Turner
> It's now impossible (within CQL) to add new > (non-primary-key) columns only for individual rows implicitly with > DML-queries (insert/update)?. > > Is your use case covered in the article above ? > > Cheers > > - > Aaron Morton > Freelance Developer >

CQL3 Cell-Transposition - Client or Server Side?

2012-10-30 Thread Timmy Turner
Does the cell transposition that is necessary for CQL3 happen on the server side after the query execution, or is it something that the Cassandra/CQL-client does before ultimately handing over the result set to the caller?

Re: CQL3: Unknown property 'comparator'?

2012-10-31 Thread Timmy Turner
document in the project as the > reason for the changes. > > AFAIK to be "schema free" you use the "row-column-value" model. While this > looks like many rows it is a single store engine row. > > Cheers > > - > Aaron Morton > Freela

Re: Create CF with composite column through CQL 3

2012-10-31 Thread Timmy Turner
CQL3 handles columns/rows/keys differently than Cassandra itself underneath. If you look closely you'll see that your real primary key is in fact only a Long: > Key Validation Class: org.apache.cassandra.db.marshal.LongType If you want to know more about it, check these 2 articles: http://

describe columnfamilies?

2012-11-14 Thread Timmy Turner
Using a describe columnfamilies/tables query, Cassandra only gives me in 1.2.0-beta1 and the error mentioned in https://issues.apache.org/jira/browse/CASSANDRA-4946 in 1.2.0-beta2, despite there actually being columnfamilies in the currently selected/used keyspace. Selecting/updating the columnfam

Datatype Conversion in CQL-Client?

2012-11-15 Thread Timmy Turner
Does the official/built-in Cassandra CQL client (in 1.2) offer any built-in option to get direct values/objects when reading a field, instead of just a byte array?

Re: Admin for cassandra?

2012-11-15 Thread Timmy Turner
I think an eclipse plugin would be the wrong way to go here. Most people probably just want to browse through the columnfamilies and see whether their queries work out or not. This functionality is imho best implemented as some form of a light-weight editor, not a full blown IDE. I do have somethi

Re: Datatype Conversion in CQL-Client?

2012-11-17 Thread Timmy Turner
ode.google.com/a/apache-extras.org/p/cassandra-jdbc/ and python > http://code.google.com/a/apache-extras.org/p/cassandra-dbapi2/ drivers. > > Cheers > > > - > Aaron Morton > Freelance Cassandra Developer > New Zealand > > @aaronmorton > http://www.the

Re: Datatype Conversion in CQL-Client?

2012-11-19 Thread Timmy Turner
finition: >> >> http://www.datastax.com/docs/1.0/references/cql/index >> >> (Look at the CQL Data Types section) >> >> ** ** >> >> If that's not the client you are referencing, let us know which one you >> mean: >> >> http://brian

Re: Datatype Conversion in CQL-Client?

2012-11-19 Thread Timmy Turner
Do these other clients use the thrift API internaly? 2012/11/19 John Sanda > You might want to take look a org.apache.cassandra.transport.SimpleClient > and org.apache.cassandra.transport.messages.ResultMessage. > > > On Mon, Nov 19, 2012 at 9:48 AM, Timmy Turner wrote: > &

Re: Datastax Java Driver

2012-11-19 Thread Timmy Turner
Why is this being released as a separate project, instead of being bundled up with Cassandra? Is it not a part of Cassandra? 2012/11/19 John Sanda > Fantastic! As for the object mapping API, has there been any > discussion/consideration of http://www.hibernate.org/subprojects/ogm.html? > > > On

Re: Looking for a good Ruby client

2012-11-20 Thread Timmy Turner
@Mat Brown: > (while still retaining compatibility with CQL2 structures). Do you mean by exceeding what Cassandra itself provides in terms of CQL2/3 interoperability? I'm looking into something similar currently (however in Java not in Ruby) and would be interested in your experiences, if you fo

Re: Looking for a good Ruby client

2012-11-20 Thread Timmy Turner
that's probably a lot more of an answer than you needed, but > hopefully the context helps. Definitely interested to hear about the > direction you take your client in as well. > > Finally, regarding a blog, we've got one set up, but it's not live > yet. I'll pi

Named Parameters in Prepared Statement

2014-09-22 Thread Timmy Turner
Looking through the CQL 3.1 grammar in Cassandra, I found a "':' ident" alternative in the "value" rule (line 961). Is this for binding named parameters in prepared statements? Is this currently supported by any of the drivers or in Cassandra (2.1) itself? Looking at the docs and the current Java

Not-Equals (!=) in Where Clause

2014-09-29 Thread Timmy Turner
Looking through the CQL 3.1 grammar for Cassandra 2.1, I noticed that the not-equals operator (!=) is in the grammar definition, but I can't seem to find any legal way to use it. Is != supported as part of the where clause in Cassandra? Or is it the grammar for some other purpose?

Semantics of Triggers (& their future)

2014-10-12 Thread Timmy Turner
Information on triggers seems a bit scarce so far. The blog entry on http://www.datastax.com/dev/blog/whats-new-in-cassandra-2-0-prototype-triggers-support mentions them as being usable for maintaining materialized views, since they'll be handled similarly to logged/atomic batches - is that enough

Why is Quorum not sufficient for Linearization?

2014-10-15 Thread Timmy Turner
Cassandra in general can't provide guarantee any ordering of the executed queries, since nodes may fail or rejoin the in arbitrary points in time. But why can't it provide ordering for queries run at at least the quorum level? Given that none of the updates get lost, why would order still an issue

Cassandra Version History

2014-02-24 Thread Timmy Turner
Hi, is there a history/list showing which major (as in x.y) versions of Cassandra were released on which date? Or is the list on Wikipedia complete? Did 2.0 come after 1.2? Thanks!

Cassandra 2.0.5 Configuration

2014-02-24 Thread Timmy Turner
Hi, when building and running Cassandra 2.0.5 from the git repository, the log is full of lines like these 00:01:42.286 [CompactionExecutor:1] DEBUG o.a.c.d.compaction.CompactionManager - Checking system.local When building and running 2.1.0/trunk the log settings are however fine. Is there any

Cassandra Java Client

2014-02-26 Thread Timmy Turner
Hi, is the DataStax "Java Driver for Apache Cassandra" ( https://github.com/datastax/java-driver) the official/recommended Java Client to use for accessing Cassandra from Java? Does Cassandra itself (i.e. the apache-cassandra-* jars) not contain any CQL clients? Thanks!