You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Tim Nieradzik (Jira)" <ji...@apache.org> on 2022/11/29 13:28:00 UTC

[jira] [Created] (CALCITE-5405) MongoDB: Invalid TIMESTAMP conversion

Tim Nieradzik created CALCITE-5405:
--------------------------------------

             Summary: MongoDB: Invalid TIMESTAMP conversion
                 Key: CALCITE-5405
                 URL: https://issues.apache.org/jira/browse/CALCITE-5405
             Project: Calcite
          Issue Type: Bug
          Components: mongodb-adapter
            Reporter: Tim Nieradzik
            Assignee: Tim Nieradzik


When using the MongoDB adapter, the following conversion does not work as expected:

cast(_MAP['date'] as TIMESTAMP)

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)