You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Anthony Louis Gotlib Ferreira (Jira)" <ji...@apache.org> on 2022/06/14 13:58:00 UTC
[jira] (ARROW-16738) [C++][Gandiva] Fix TO_TIMESTAMP(INTEGER) function for big integer values
[ https://issues.apache.org/jira/browse/ARROW-16738 ]
Anthony Louis Gotlib Ferreira deleted comment on ARROW-16738:
-------------------------------------------------------
was (Author: anthonylouis):
Issue resolved by: https://github.com/apache/arrow/pull/13298
> [C++][Gandiva] Fix TO_TIMESTAMP(INTEGER) function for big integer values
> ------------------------------------------------------------------------
>
> Key: ARROW-16738
> URL: https://issues.apache.org/jira/browse/ARROW-16738
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, C++ - Gandiva
> Reporter: Anthony Louis Gotlib Ferreira
> Assignee: Anthony Louis Gotlib Ferreira
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When to_timestamp function gets a big value, the function returns an incorrect date due integer overflow:
> - TO_TIMESTAMP(1626255099[INT32]) -> '1969-12-14 04:54:53.816'
>
> The correct response should be:
> - TO_TIMESTAMP(1626255099[INT32]) -> '2021-07-14 09:31:39'
--
This message was sent by Atlassian Jira
(v8.20.7#820007)