You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jens Rantil (JIRA)" <ji...@apache.org> on 2014/10/16 11:09:33 UTC
[jira] [Created] (CASSANDRA-8127) Support vertical listing in cqlsh
Jens Rantil created CASSANDRA-8127:
--------------------------------------
Summary: Support vertical listing in cqlsh
Key: CASSANDRA-8127
URL: https://issues.apache.org/jira/browse/CASSANDRA-8127
Project: Cassandra
Issue Type: Wish
Components: Tools
Reporter: Jens Rantil
Priority: Minor
MySQL CLI has this neat feature that you can end queries with `\G` and it will each result row vertically. For tables with many columns, or for users with vertical screen orientation or smaller resolution, this is highly useful. Every time I start `cqlsh` I feel this feature would be highly useful for some of the tables that have many columns. See example below:
{noformat}
mysql> SELECT * FROM testtable;
+------+------+------+
| a | b | c |
+------+------+------+
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 6 | 7 | 8 |
+------+------+------+
3 rows in set (0.00 sec)
mysql> SELECT * FROM testtable\G
*************************** 1. row ***************************
a: 1
b: 2
c: 3
*************************** 2. row ***************************
a: 4
b: 5
c: 6
*************************** 3. row ***************************
a: 6
b: 7
c: 8
3 rows in set (0.00 sec)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)