cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-642) Implement get_range_slice in CliClient
Date Fri, 18 Dec 2009 20:50:18 GMT

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

Eric Evans commented on CASSANDRA-642:
--------------------------------------

A couple of things. 1) I didn't test out the patch because it doesn't apply, perhaps it needs
to be rebased against trunk, and 2) I'm not sure this patch is a good idea for a number of
reasons.

I'm of the opinion that the cli should be left very simple. I think we should encourage people
to use it as a quick means of testing a node/cluster, or to become familiar with the basics
of the data-model without requiring them to write any code. I worry that giving people the
impression that it is a serious tool will set unattainable expectations, and the simple fact
that it is a text interface makes it unsuitable (remember that column and super column names
and values are binary).

Additionally, if we were to add slice functionality, I don't think this is the way. For example,
the command name used here ("slice") is generic enough that IMO it would need to cover all
slice functionality, and I don't think there is a straightforward syntax that would accommodate
that.I also don't think that the syntax chosen here is the best way to express a range of
keys since it looks like arithmetic instead of a range specification.

> Implement get_range_slice in CliClient
> --------------------------------------
>
>                 Key: CASSANDRA-642
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-642
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Nate McCall
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: patch.txt
>
>
> Provide access to get_range_slice API method in CliClient

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message