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 "Csaba Ringhofer (JIRA)" <ji...@apache.org> on 2018/09/07 14:30:00 UTC

[jira] [Resolved] (IMPALA-7522) milliseconds_add() can lead to overflow / DCHECK

     [ https://issues.apache.org/jira/browse/IMPALA-7522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Csaba Ringhofer resolved IMPALA-7522.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0

> milliseconds_add() can lead to overflow / DCHECK
> ------------------------------------------------
>
>                 Key: IMPALA-7522
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7522
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.3.0
>            Reporter: Csaba Ringhofer
>            Assignee: Csaba Ringhofer
>            Priority: Major
>              Labels: correctness, timestamp
>             Fix For: Impala 3.1.0
>
>
> select milliseconds_add("1970-01-01", -10000000000000);
> release build: result = 2237-09-01 05:47:53.709551616 (should be 1653-02-10 06:13:20)
> debug build: timestamp-functions-ir.cc:740] Check failed: result_value < input_value (2237-09-01 05:47:53.709551616 vs. 1970-01-01 00:00:00) 
> seconds/microseconds_add work correctly with the same timestamp



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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