You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dan Burkert (JIRA)" <ji...@apache.org> on 2016/09/23 23:57:20 UTC

[jira] [Commented] (KUDU-1386) NaN float and double values are not handled correctly

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

Dan Burkert commented on KUDU-1386:
-----------------------------------

Potential fix by [~wdberkeley]: https://gerrit.cloudera.org/#/c/3142/

> NaN float and double values are not handled correctly
> -----------------------------------------------------
>
>                 Key: KUDU-1386
>                 URL: https://issues.apache.org/jira/browse/KUDU-1386
>             Project: Kudu
>          Issue Type: Sub-task
>          Components: tserver
>            Reporter: Dan Burkert
>            Assignee: Will Berkeley
>            Priority: Minor
>
> {{TypeInfo<FLOAT>::Compare}} and {{TypeInfo<DOUBLE>::Compare}} always return 0 when one of the arguments is a {{NaN}} value.  This results in equality predicates never filtering {{NaN}} values.  {{TypeInfo::Compare}} should be changed so that it doesn't assume that the data type is totally ordered.



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