You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (JIRA)" <ji...@apache.org> on 2018/07/28 00:39:00 UTC

[jira] [Resolved] (ASTERIXDB-2423) Division by 0 should return NULL for all numeric types

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

Dmitry Lychagin resolved ASTERIXDB-2423.
----------------------------------------
    Resolution: Fixed

> Division by 0 should return NULL for all numeric types
> ------------------------------------------------------
>
>                 Key: ASTERIXDB-2423
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2423
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: RT - Runtime
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
>
> Currently division by 0 returns INF, while DIV 0 fails for integer types and returns INF in other cases. We should make both return NULL for all types. Also applies to MOD operation when the divisor is 0.     



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)