You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2018/06/15 14:40:00 UTC
[jira] [Commented] (CALCITE-2364) MongoAdapterTest.testDate() could
fail by time zone.
[ https://issues.apache.org/jira/browse/CALCITE-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513895#comment-16513895 ]
Andrei Sereda commented on CALCITE-2364:
----------------------------------------
Does it fail during unit or integration tests ?
What are the timezones for JVM / Mongo instance ? Can you give output example pls ?
> 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)