You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2013/06/14 18:04:21 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13683477#comment-13683477 ]
Brandon Williams commented on CASSANDRA-5636:
---------------------------------------------
+1
> 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: 2.0
>
> 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