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/04 11:36:00 UTC

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

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

Csaba Ringhofer updated IMPALA-7522:
------------------------------------
    Issue Type: Bug  (was: Improvement)

> milliseconds_add() can lead overflow / DCHECK
> ---------------------------------------------
>
>                 Key: IMPALA-7522
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7522
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Csaba Ringhofer
>            Priority: Major
>
> 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