[ https://issues.apache.org/jira/browse/CASSANDRA-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921572#action_12921572
]
Jim Ancona commented on CASSANDRA-1619:
---------------------------------------
The attached patch addresses most of Jonathan's issues.
* {{list CF[]}} now defaults the start and end keys to ''. Also {{list CF['key1':]}} will
default the end key to ''.
* Default limit is now 100
* {{limit}} clause works, although it always did for me. Please report any further problems.
* When a limit is used, the rows returned message includes the suffix "(out of N)" where N
is the the number that would have been returned without the LIMIT
Question: WRT making list CF[...][column] applicable to normal columns as well as super,
should we also support list[...][super][col] also?
> 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.
|