You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2014/07/15 07:52:06 UTC

[jira] [Updated] (TAJO-904) ORDER BY Null first support

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

Hyunsik Choi updated TAJO-904:
------------------------------

    Summary: ORDER BY Null first support  (was: ORDER BY with a null column miss some data.)

> ORDER BY Null first support
> ---------------------------
>
>                 Key: TAJO-904
>                 URL: https://issues.apache.org/jira/browse/TAJO-904
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Hyoungjun Kim
>            Assignee: Hyoungjun Kim
>            Priority: Trivial
>
> ORDER BY with a null column miss some data. I found RowStoreEncoder has a bug dealing with NULL values. 
> "continue" statement should be add.
> {code}
>       Column col;
>       for (int i = 0; i < schema.size(); i++) {
>         if (tuple.isNull(i)) {
>           nullFlags.set(i);
>           continue;
>         }
>         col = schema.getColumn(i);
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)