You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ryan Daum (JIRA)" <ji...@apache.org> on 2010/01/04 16:19:54 UTC
[jira] Updated: (CASSANDRA-661) Pretty-print column names in CLI
'get' command
[ https://issues.apache.org/jira/browse/CASSANDRA-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Daum updated CASSANDRA-661:
--------------------------------
Attachment: Patch-revised.patch
Here's a revised version of the patch with bracket placement (for the new methods) on new lines and without modifications to other lines (not sure why IntelliJ did that, sorry). Note I did not touch bracket placement for any of the existing methods.
> Pretty-print column names in CLI 'get' command
> ----------------------------------------------
>
> Key: CASSANDRA-661
> URL: https://issues.apache.org/jira/browse/CASSANDRA-661
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Affects Versions: 0.5, 0.9
> Reporter: Ryan Daum
> Assignee: Ryan Daum
> Priority: Trivial
> Fix For: 0.5
>
> Attachments: 0002-CASSANDRA-661-Formatted-representation-of-column-na.patch, Patch-revised.patch
>
>
> Currently when CompareWith for a column is a UUID or Long, the CLI prints out a string containing the binary of the column name rather than a literal representation of the name
> However, it appears AbstractType supports a 'getString' method to produce a printable form of any of the types usable in CompareWith and CompareSubcolumnsWith.
> Patch forthcoming which uses this + reflection to produce a more readable representation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.