You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jess Balint (Jira)" <ji...@apache.org> on 2023/02/07 22:34:01 UTC
[jira] [Closed] (CALCITE-5405) MongoDB: Invalid TIMESTAMP conversion
[ https://issues.apache.org/jira/browse/CALCITE-5405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jess Balint closed CALCITE-5405.
--------------------------------
Resolved in release 1.33.0 (2023-02-06)
> 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)