cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5636) Add row count to select output a la psql
Date Thu, 13 Jun 2013 21:03:20 GMT
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

Mime
View raw message