You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Csaba Ringhofer (JIRA)" <ji...@apache.org> on 2018/09/04 11:36:00 UTC

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

Csaba Ringhofer created IMPALA-7522:
---------------------------------------

             Summary: milliseconds_add() can lead overflow / DCHECK
                 Key: IMPALA-7522
                 URL: https://issues.apache.org/jira/browse/IMPALA-7522
             Project: IMPALA
          Issue Type: Improvement
            Reporter: Csaba Ringhofer


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)