You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "jiezouSH (Jira)" <ji...@apache.org> on 2019/10/21 07:31:00 UTC
[jira] [Created] (CALCITE-3435) floor(mod(33.5,7)) wrongly returns
5.5
jiezouSH created CALCITE-3435:
---------------------------------
Summary: floor(mod(33.5,7)) wrongly returns 5.5
Key: CALCITE-3435
URL: https://issues.apache.org/jira/browse/CALCITE-3435
Project: Calcite
Issue Type: Bug
Affects Versions: 1.21.0, 1.16.0
Reporter: jiezouSH
mod's return type is
chain(DECIMAL_MOD_NULLABLE, ARG1_NULLABLE),
but mod(33.5,7)'s result is 5.5, not in line with ARG1_NULLABLE.
This causes floor(mod(33.5,7)) wrongly returns 5.5
--
This message was sent by Atlassian Jira
(v8.3.4#803005)