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

Julian Hyde commented on CALCITE-2364:
--------------------------------------

Our general policy is to ensure that Calcite's behavior is the same regardless 
of time zone or locale. This is important because Calcite is a server and may 
have clients from different time zones.

I don't know whether it is possible to apply this policy to Fongo or other test 
infrastructure.

> 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)

Reply via email to