You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/11/18 05:42:00 UTC

[jira] [Resolved] (ARROW-1791) Integration tests generate date[DAY] values outside of reasonable range

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

Wes McKinney resolved ARROW-1791.
---------------------------------
    Resolution: Fixed

Resolved by PR https://github.com/apache/arrow/commit/202e6503cd2e941a2df2ccacedf09611d8ad2e0f

> Integration tests generate date[DAY] values outside of reasonable range
> -----------------------------------------------------------------------
>
>                 Key: ARROW-1791
>                 URL: https://issues.apache.org/jira/browse/ARROW-1791
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>              Labels: pull-request-available
>             Fix For: 0.8.0
>
>
> The integration tests are generating random int32 values, but for systems that use millisecond-based date objects (like JavaScript), converting to millisecond date will cause an overflow in a lot of cases. We should generate values that are within a reasonable year range so that overflows when converting to milliseconds do not occur



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)