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

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

     [ https://issues.apache.org/jira/browse/CASSANDRA-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Yeschenko updated CASSANDRA-5636:
-----------------------------------------

    Attachment: 5636.txt
    
> 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
>              Labels: cqlsh
>             Fix For: 1.2.6
>
>         Attachments: 5636.txt
>
>
> 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