You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Low Chin Wei (JIRA)" <ji...@apache.org> on 2015/07/22 02:54:04 UTC

[jira] [Commented] (CALCITE-717) Order By varbinary column use signed value instead of unsigned value

    [ https://issues.apache.org/jira/browse/CALCITE-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636079#comment-14636079 ] 

Low Chin Wei commented on CALCITE-717:
--------------------------------------

Hi Julian,

Any idea about this issue? I think we just need to fix the compare function of bytes.

> Order By varbinary column use signed value instead of unsigned value
> --------------------------------------------------------------------
>
>                 Key: CALCITE-717
>                 URL: https://issues.apache.org/jira/browse/CALCITE-717
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Low Chin Wei
>            Assignee: Julian Hyde
>
> I am storing IP address as varbinary and the order by on that column will not yield correct order. Because, it use signed value instead of unsigned value to sort the column.
> Is there anyway I can sort it by unsigned value?



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