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

[jira] [Created] (CALCITE-7449) DateTimeUtils.intervalDayTimeToString silently truncates large intervals

Mihai Budiu created CALCITE-7449:
------------------------------------

             Summary: DateTimeUtils.intervalDayTimeToString silently truncates large intervals
                 Key: CALCITE-7449
                 URL: https://issues.apache.org/jira/browse/CALCITE-7449
             Project: Calcite
          Issue Type: Bug
          Components: avatica
    Affects Versions: avatica-1.27.0
            Reporter: Mihai Budiu
            Assignee: Mihai Budiu
             Fix For: avatica-1.28


Intervals can be very large, but when converting to string the function casts the value of the first significant unit (e.g., DAYS) from long to integer, dropping the high order bits.



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