You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2026/08/05 21:03:00 UTC

[jira] [Created] (CALCITE-7692) FLOOR/CEIL of INTERVAL produces wrong results

Mihai Budiu created CALCITE-7692:
------------------------------------

             Summary: FLOOR/CEIL of INTERVAL produces wrong results
                 Key: CALCITE-7692
                 URL: https://issues.apache.org/jira/browse/CALCITE-7692
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.42.0
            Reporter: Mihai Budiu


There are already some tests in SqlOperatorTest.testFloorFuncInterval but they are not executed because of "!f.brokenTestsEnabled()"

I could not find a matching issue, though.

There's a convertlet which implements some operations but only for INTERVAL literals, the result will be wrong for non-literals.



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