You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Volodymyr Vysotskyi (JIRA)" <ji...@apache.org> on 2018/06/28 19:02:00 UTC

[jira] [Resolved] (CALCITE-2364) MongoAdapterTest.testDate() could fail by time zone.

     [ https://issues.apache.org/jira/browse/CALCITE-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Volodymyr Vysotskyi resolved CALCITE-2364.
------------------------------------------
    Resolution: Fixed

Fixed in [a7e8fb8|https://github.com/apache/calcite/commit/a7e8fb84cfc5483752a6a5350497971a105462b2].
 Thanks, [~asereda] for the PR and [~tzenmyo] for reporting and investigating the issue.

> 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
>             Fix For: 1.17.0
>
>
> 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)