Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Duplicate
-
None
Description
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:
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)
Attachments
Issue Links
- duplicates
-
CASSANDRA-5597 Allow switching to vertical output for SELECTs in cqlsh
- Resolved