cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2500) Ruby dbi client (for CQL) that conforms to AR:ConnectionAdapter
Date Tue, 06 Sep 2011 17:53:10 GMT

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

Jonathan Ellis commented on CASSANDRA-2500:
-------------------------------------------

Some tests that I'd like to see:

- a query against rows whose values are determined by default_validation_class
- a query demonstrating sparse columns across rows in a single resultset (e.g. row 1 has columns
A, B, row 2 has columns A, C)
- queries using UUID and long column names (these tend to be tricky)
- a test of Counter support
- a test showing all the CQL 1.1 data types in resultset values (Ascii, Boolean, Bytes, Date,
Double, Float, Long, UUID, UTF8)

Also, something is weird in https://github.com/kreynolds/cassandra-cql/blob/master/spec/fixtures/standard_with_validations.yaml
because mixing counters and noncounter data in a single CF is illegal (see CASSANDRA-2614):

{noformat}
  - !ruby/object:CassandraCQL::Thrift::ColumnDef
    name: votes
    validation_class: org.apache.cassandra.db.marshal.CounterColumnType
{noformat}

> 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: Kelley Reynolds
>              Labels: cql
>             Fix For: 0.8.6
>
>         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

        

Mime
View raw message