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

Add row count to select output a la psql

    XMLWordPrintableJSON

Details

    Description

      This is handy since counting rows that look mostly alike can be painful; it also makes it clear that cqlsh isn't ignoring you when you select something that doesn't exist.

      Here is what psql does:

      company=> select fname, salary from employee;
      
      fname   |  salary
      --------+--------
      John    |30000.00
      Franklin|40000.00
      Alica   |25000.00
      Jennifer|43000.00
      Ramish  |38000.00
      Joyce   |25000.00
      Ahmad   |25000.00
      James   |55000.00
      (8 rows)
      

      Attachments

        1. 5636.txt
          10 kB
          Aleksey Yeschenko

        Activity

          People

            aleksey Aleksey Yeschenko
            jbellis Jonathan Ellis
            Aleksey Yeschenko
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: