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/25 21:44:00 UTC
[jira] [Created] (ASTERIXDB-2423) Division by 0 should return NULL
for all numeric types
Dmitry Lychagin created ASTERIXDB-2423:
------------------------------------------
Summary: 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
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)