cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Hermes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2500) Ruby dbi client (for CQL) that conforms to AR:ConnectionAdapter
Date Wed, 08 Jun 2011 15:37:59 GMT

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

Jon Hermes commented on CASSANDRA-2500:
---------------------------------------

The drivers should be tested functionally the same as the cli is currently. Ideally all the
drivers, client libs, etc. should be hooked into a distributed testing framework, but for
now it should be valid to just make sure it does the right thing on a single node system.

Regarding packaging and mixing in with the ruby cassandra gem (in this case), I see good reasons
to both combine the gems and to keep them seperate:

In the latter case, it's as jbellis pointed out, we don't want to confuse people about which
gem they need for a certain feature set (there's little overlap in the usage between this
and the ruby cassandra gem). Also, it's possible to commit this to trunk, whereas client libs
have historically been kept out of the repo.

In the former, and from a dev perspective, there is a TON of reused code between the ruby
cassandra gem and this driver, as there is likewise a TON of reused code between pycassa and
the python cql driver. It would be nice to combine them/depend on them just for sanity purposes,
and because it would force both gems/libs to be kept up to date and to be generally better.


Overall I'd call it an executive call, and it appears one has already been made.

> 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
>            Reporter: Jon Hermes
>            Assignee: Jon Hermes
>         Attachments: 2500.txt, genthriftrb.txt
>
>
> 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

Mime
View raw message