You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Kelley Reynolds (JIRA)" <ji...@apache.org> on 2011/07/24 03:58:09 UTC

[jira] [Commented] (CASSANDRA-2500) Ruby dbi client (for CQL) that conforms to AR:ConnectionAdapter

    [ https://issues.apache.org/jira/browse/CASSANDRA-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070087#comment-13070087 ] 

Kelley Reynolds commented on CASSANDRA-2500:
--------------------------------------------

This may not be the way to have code reviewed but as it's convenient to me, I've made two new repos on github. https://github.com/kreynolds/cassandra-thrift is a gem that contains the generated thrift bindings that are located in the vendor directory in the fauna gem and https://github.com/kreynolds/dbd-cassandra is for the dbd driver that depends on them. I know there has been some discussion about replication of code between projects and it makes sense to me to have all of the vendor (thrift) stuff in it's own gem updated independently from the client/idiomatic implementations such as fauna/dbd/activerecord/whatever.

This is written against 0.8.1-SNAPSHOT so YMMV with 0.8.0. I didn't do a complete refactoring so some things are still suboptimal and the column_info still needs to pull types out for casting but it appears otherwise functional.

> Ruby dbi client (for CQL) that conforms to AR:ConnectionAdapter
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-2500
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2500
>             Project: Cassandra
>          Issue Type: Task
>          Components: API
>            Reporter: Jon Hermes
>            Assignee: Pavel Yaskevich
>              Labels: cql
>             Fix For: 0.8.3
>
>         Attachments: 2500.txt, genthriftrb.txt, rbcql-0.0.0.tgz
>
>
> Create a ruby driver for CQL.
> Lacking something standard (such as py-dbapi), going with something common instead -- RoR ActiveRecord Connection Adapter (http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/AbstractAdapter.html).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira