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 2019/07/27 18:01:00 UTC

[jira] [Commented] (ARROW-6025) [Gandiva][Test] Error handling for missing timezone in castTIMESTAMP_utf8 tests

    [ https://issues.apache.org/jira/browse/ARROW-6025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894508#comment-16894508 ] 

Wes McKinney commented on ARROW-6025:
-------------------------------------

[~kszucs] I think the solution may be to install tzdata in the container, see

https://github.com/apache/arrow/blob/master/cpp/Dockerfile#L31

Not to be a broken record but this is the peril of having duplicated build configurations. So far I count 3 different configurations for this build:

* One for Travis CI
* One in cpp/Dockerfile* for docker-compose
* One for Buildbot on ursabot

Can we discuss a plan on the mailing list for going from 3 different configurations to 1? This situation does not strike me as productive

> [Gandiva][Test] Error handling for missing timezone in castTIMESTAMP_utf8 tests
> -------------------------------------------------------------------------------
>
>                 Key: ARROW-6025
>                 URL: https://issues.apache.org/jira/browse/ARROW-6025
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++ - Gandiva
>            Reporter: Krisztian Szucs
>            Priority: Major
>
> I've recently enabled gandiva in the conda c++ ursabot builders. The container doesn't contain the required timezones do the tests are failing:
> {code}
> ../src/gandiva/precompiled/time_test.cc:103: Failure
> Expected equality of these values:
>   castTIMESTAMP_utf8(context_ptr, "2000-09-23 9:45:30.920 Canada/Pacific", 37)
>     Which is: 0
>   969727530920
> ../src/gandiva/precompiled/time_test.cc:105: Failure
> Expected equality of these values:
>   castTIMESTAMP_utf8(context_ptr, "2012-02-28 23:30:59 Asia/Kolkata", 32)
>     Which is: 0
>   1330452059000
> ../src/gandiva/precompiled/time_test.cc:107: Failure
> Expected equality of these values:
>   castTIMESTAMP_utf8(context_ptr, "1923-10-07 03:03:03 America/New_York", 36)
>     Which is: 0
>   -1459094217000
> {code}
> See build: https://ci.ursalabs.org/#/builders/66/builds/3046/steps/8/logs/stdio



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)