cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5645) Display PK values along the header when using EXPAND in cqlsh
Date Fri, 18 Mar 2016 14:25:33 GMT

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

Aleksey Yeschenko resolved CASSANDRA-5645.
------------------------------------------
    Resolution: Not A Problem
      Assignee:     (was: Michał Michalski)

We opted for highlighting PK columns in different colours instead.

> Display PK values along the header when using EXPAND in cqlsh
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-5645
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5645
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Michał Michalski
>            Priority: Minor
>              Labels: lhf
>
> Follow-up to CASSANDRA-5597 proposed by [~jjordan].
> Currently cqlsh run in vertical mode prints a header like this:
> {noformat}cqlsh> EXPAND on;
> Now printing expanded output
> cqlsh> SELECT * FROM system.schema_columnfamilies limit 1;
> @ Row 1
> -----------------------------+-----------------------------------------------------------------------------------------
>  keyspace_name               | system_auth
>  columnfamily_name           | users
>  bloom_filter_fp_chance      | 0.01
>  caching                     | KEYS_ONLY
>  column_aliases              | []
> (...){noformat}
> The idea is to make it print header this way:
> {noformat}cqlsh> EXPAND on;
> Now printing expanded output
> cqlsh> SELECT * FROM system.schema_columnfamilies limit 1;
> @ Row 1: system_auth, users
> -----------------------------+-----------------------------------------------------------------------------------------
>  keyspace_name               | system_auth
>  columnfamily_name           | users
>  bloom_filter_fp_chance      | 0.01
>  caching                     | KEYS_ONLY
>  column_aliases              | []
> (...){noformat}
> [~jjordan], please verify if it's what you requested for.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message