[
https://issues.apache.org/jira/browse/CALCITE-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515388#comment-16515388
]
Teruyoshi Zenmyo commented on CALCITE-2364:
-------------------------------------------
Thanks for comments.
This is an issue on the unit test.
I have encountered the issue in running `mvn package` in timezone JST (+9) and
confirmed my patch (https://github.com/apache/calcite/pull/733) has fixed the
issue.
I have confirmed Andrel's patch also fixes the issue.
I didn't notice the other test also affected by the issue. Thanks for your
response.
> MongoAdapterTest.testDate() could fail by time zone.
> ----------------------------------------------------
>
> Key: CALCITE-2364
> URL: https://issues.apache.org/jira/browse/CALCITE-2364
> Project: Calcite
> Issue Type: Test
> Reporter: Teruyoshi Zenmyo
> Assignee: Julian Hyde
> Priority: Minor
>
> MongoAdapterTest.setUp() creates sample data based on system default timezone
> but MongoDatabase seems to use another timezone and the sample query used in
> the test would return unexpected value.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)