Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-1619

improve cli list command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7 beta 3
    • Legacy/Tools
    • None

    Description

      • "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:
        [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)
        

      Attachments

        1. 1619-v2.txt
          7 kB
          Jonathan Ellis
        2. 1619-v3.txt
          9 kB
          Jonathan Ellis
        3. cassandra-list-improvements.patch
          6 kB
          James P. Ancona

        Activity

          People

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: