[ 
https://issues.apache.org/jira/browse/CASSANDRA-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796242#action_12796242
 ] 

Jonathan Ellis commented on CASSANDRA-661:
------------------------------------------

Oh, now I see what you mean by using reflection...

IMO it should fall back to showing "ClassName(hexstring)" for types that aren't 
available locally, since arbitrary custom types could be installed on the 
server.

(Brace placement is still on same line for executeCLIStmt, executeGet :)

> 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
>            Reporter: Ryan Daum
>            Assignee: Ryan Daum
>            Priority: Trivial
>             Fix For: 0.9
>
>         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.

Reply via email to