[
https://issues.apache.org/jira/browse/PHOENIX-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576852#comment-16576852
]
James Taylor commented on PHOENIX-4843:
---------------------------------------
It often won't work to attempt to do a toString on the inverted bytes. For
example, an inverted string will have non printable characters and a DECIMAL
would break. What's the reason you need the toString to maintain the
DESC/inverted bytes? If it's for roundtrip-ability, you might consider some
kind of notation instead like ~(A,B,C) to mean the A, B, C are descending. I
think it's typically all the values are ASC or DESC.
> InListExpression toString() converts the values in the list to ASC sort order
> always
> ------------------------------------------------------------------------------------
>
> Key: PHOENIX-4843
> URL: https://issues.apache.org/jira/browse/PHOENIX-4843
> Project: Phoenix
> Issue Type: Bug
> Reporter: Thomas D'Silva
> Assignee: Thomas D'Silva
> Priority: Major
> Fix For: 4.15.0, 5.1.0
>
> Attachments: PHOENIX-4843.patch
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)