You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2026/08/13 13:47:00 UTC

[jira] [Created] (IMPALA-15256) Calcite planner: Wrong results for floor, ceil

Steve Carlin created IMPALA-15256:
-------------------------------------

             Summary: Calcite planner: Wrong results for floor, ceil
                 Key: IMPALA-15256
                 URL: https://issues.apache.org/jira/browse/IMPALA-15256
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: Steve Carlin


The following is returning the wrong results:

select floor(-3.2)

Results: -3

An improper casting is happening within the floor function.  This also applies to the ceil function.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org