You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/05/13 16:40:47 UTC

[jira] [Created] (CASSANDRA-2646) Cli should be able to specify a limit for get_slice

Cli should be able to specify a limit for get_slice
---------------------------------------------------

                 Key: CASSANDRA-2646
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2646
             Project: Cassandra
          Issue Type: Improvement
          Components: Tools
    Affects Versions: 0.7.0
            Reporter: Sylvain Lebresne
            Priority: Minor


The cli doesn't allow
{noformat}
get cf['k'] limit 5;
{noformat}
but should. Actually it should probably allow
{noformat}
get cf['k']['c':'g'] limit 10;
{noformat}

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

[jira] [Commented] (CASSANDRA-2646) Cli should be able to specify a limit for get_slice

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033077#comment-13033077 ] 

Pavel Yaskevich commented on CASSANDRA-2646:
--------------------------------------------

+1

> Cli should be able to specify a limit for get_slice
> ---------------------------------------------------
>
>                 Key: CASSANDRA-2646
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2646
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: cli
>         Attachments: 0001-Add-limit-for-get-when-a-slice.patch
>
>
> The cli doesn't allow
> {noformat}
> get cf['k'] limit 5;
> {noformat}
> but should. Actually it should probably allow
> {noformat}
> get cf['k']['c':'g'] limit 10;
> {noformat}

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

[jira] [Updated] (CASSANDRA-2646) Cli should be able to specify a limit for get_slice

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2646:
--------------------------------------

    Reviewer: xedin
    Assignee: Sylvain Lebresne

> Cli should be able to specify a limit for get_slice
> ---------------------------------------------------
>
>                 Key: CASSANDRA-2646
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2646
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: cli
>         Attachments: 0001-Add-limit-for-get-when-a-slice.patch
>
>
> The cli doesn't allow
> {noformat}
> get cf['k'] limit 5;
> {noformat}
> but should. Actually it should probably allow
> {noformat}
> get cf['k']['c':'g'] limit 10;
> {noformat}

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

[jira] [Updated] (CASSANDRA-2646) Cli should be able to specify a limit for get_slice

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-2646:
----------------------------------------

    Attachment: 0001-Add-limit-for-get-when-a-slice.patch

Patch (against 0.7) that adds the limit part. If someone wants to build on this to add support for start/end, be my guest, but I need that patch for a script I'm about to attach CASSANDRA-2643 so that's before all a way to make this public.

> Cli should be able to specify a limit for get_slice
> ---------------------------------------------------
>
>                 Key: CASSANDRA-2646
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2646
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Sylvain Lebresne
>            Priority: Minor
>              Labels: cli
>         Attachments: 0001-Add-limit-for-get-when-a-slice.patch
>
>
> The cli doesn't allow
> {noformat}
> get cf['k'] limit 5;
> {noformat}
> but should. Actually it should probably allow
> {noformat}
> get cf['k']['c':'g'] limit 10;
> {noformat}

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

[jira] [Commented] (CASSANDRA-2646) Cli should be able to specify a limit for get_slice

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036207#comment-13036207 ] 

Hudson commented on CASSANDRA-2646:
-----------------------------------

Integrated in Cassandra-0.7 #489 (See [https://builds.apache.org/hudson/job/Cassandra-0.7/489/])
    Allow limiting row slices in the cli
patch by slebresne; reviewed by xedin for CASSANDRA-2646

slebresne : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1124780
Files : 
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/CliClient.java
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/cli/Cli.g


> Cli should be able to specify a limit for get_slice
> ---------------------------------------------------
>
>                 Key: CASSANDRA-2646
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2646
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>              Labels: cli
>             Fix For: 0.7.7
>
>         Attachments: 0001-Add-limit-for-get-when-a-slice.patch
>
>
> The cli doesn't allow
> {noformat}
> get cf['k'] limit 5;
> {noformat}
> but should. Actually it should probably allow
> {noformat}
> get cf['k']['c':'g'] limit 10;
> {noformat}

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