You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/06/13 23:03:20 UTC

[jira] [Created] (CASSANDRA-5636) Add row count to select output a la psql

Jonathan Ellis created CASSANDRA-5636:
-----------------------------------------

             Summary: Add row count to select output a la psql
                 Key: CASSANDRA-5636
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5636
             Project: Cassandra
          Issue Type: New Feature
          Components: Tools
            Reporter: Jonathan Ellis
            Assignee: Aleksey Yeschenko
            Priority: Minor
             Fix For: 1.2.6


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:

{noformat}
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)
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira