simplereach/helenus — pull request #15 by ctavan (2012-04-02 16:06:56+00:00)
Title: CQL3 support

Cassandra 1.1 will have support for CQL 3 which is not backwards compatible to CQL 2, default of Cassandra 1.0.

CQL 2 will remain the default version in Cassandra 1.1 but users may choose the CQL version they want to use for a connection by issuing a `set_cql_version()` thrift-call.

This patch adds an optional config setting that lets the user specify the CQL version.

I had to recompile the thrift-generated JS libraries. Unfortunately thrift produces buggy files, see https://issues.apache.org/jira/browse/THRIFT-1297 That's why I have added two patches that correct for the thrift flaws. Of course these issues should rather be fixed in thrift than hacked here...

My changes are backwards-compatible with Cassandra 1.0 (tested with 1.0.8) as far as the test-suite is concerned, i.e. I'm not aware of any breaking changes.

I'll continue to contribute some CQL3 specific test cases during the next days.

Any comments are appreciated!