[
https://issues.apache.org/jira/browse/CALCITE-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514463#comment-16514463
]
Andrei Sereda commented on CALCITE-2364:
----------------------------------------
I think the issue was more with the test than Calcite. Most likely
SimpleDateFormat (in test) was using different timezone (EST) from the one on
the mongo server (UTC)
> 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)