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

Bug in count columns.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      debian lenny, sun jdk 1.6

    • Severity:
      Low

      Description

      same as thrift api (get_count).

      Welcome to cassandra CLI.

      Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
      cassandra> connect localhost/9160
      Connected to localhost/9160
      cassandra> del Keyspace1.Standard1['1']
      row removed.
      cassandra> set Keyspace1.Standard1['1']['foo'] = 'foo value'
      Value inserted.
      cassandra> set Keyspace1.Standard1['1']['bar'] = 'bar value'
      Value inserted.
      cassandra> get Keyspace1.Standard1['1']
      => (column=foo, value=foo value, timestamp=1264043095206)
      => (column=bar, value=bar value, timestamp=1264043106184)
      Returned 2 results.
      cassandra> count Keyspace1.Standard1['1']
      2 columns
      cassandra> del Keyspace1.Standard1['1']['foo']
      column removed.
      cassandra> get Keyspace1.Standard1['1']
      => (column=bar, value=bar value, timestamp=1264043106184)
      Returned 1 results.
      cassandra> count Keyspace1.Standard1['1']
      2 columns
      cassandra>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gasolwu Gasol Wu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: