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

Julian Hyde resolved CALCITE-5405.
----------------------------------
    Resolution: Fixed

Fixed in 
[ad145397|https://github.com/apache/calcite/commit/ad145397d91eea981a48d8f2002b3d36de5591ee];
 thanks for the PR, [~tnieradzik]!

> MongoDB: Invalid TIMESTAMP conversion
> -------------------------------------
>
>                 Key: CALCITE-5405
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5405
>             Project: Calcite
>          Issue Type: Bug
>          Components: mongodb-adapter
>    Affects Versions: 1.32.0
>            Reporter: Tim Nieradzik
>            Assignee: Tim Nieradzik
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.33.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When using the MongoDB adapter, the following conversion does not work as 
> expected:
> {code}
> cast(_MAP['date'] as TIMESTAMP)
> {code}
> The resulting date is always {{1970-01-01}} and only the fractional seconds 
> are set.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to