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] Resolved: (CASSANDRA-1619) improve cli list command
Date Wed, 20 Oct 2010 16:02:24 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-1619.
---------------------------------------

    Resolution: Fixed
      Assignee: Jonathan Ellis  (was: Jim Ancona)

committed v3 which fixes limit and removes supercolumn support since it's problematic as described
above.  unless someone gets a patch in the next day i'm happy to omit that for 0.7.0.

> 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: Jonathan Ellis
>             Fix For: 0.7.0
>
>         Attachments: 1619-v2.txt, 1619-v3.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