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-1619) improve cli list command
Date Fri, 15 Oct 2010 22:38:34 GMT

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

Jonathan Ellis commented on CASSANDRA-1619:
-------------------------------------------

... hopefully we can re-use the SlicePredicate and ColumnParent creation code between GET
and LIST.

> improve cli list command
> ------------------------
>
>                 Key: CASSANDRA-1619
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1619
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Jim Ancona
>             Fix For: 0.7.0
>
>         Attachments: 1619-v2.txt, cassandra-list-improvements.patch
>
>
>  * "list CF" without arguments should assume start_key=end_key=''
>  * default limit should be 100, not Integer.MAX_VALUE
>  * list CF[...][column] should be applicable to normal columns as well as super, for
consistency w/ get
>  * limit clause doesn't work:
> {code}
> [default@Keyspace1] list CF2['':''] limit 2 
> Exception in thread "main" java.lang.AssertionError
> 	at org.apache.cassandra.cli.CliClient.executeList(CliClient.java:1087)
> 	at org.apache.cassandra.cli.CliClient.executeCLIStmt(CliClient.java:150)
> 	at org.apache.cassandra.cli.CliMain.processCLIStmt(CliMain.java:227)
> 	at org.apache.cassandra.cli.CliMain.main(CliMain.java:300)
> {code}

-- 
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