Skip to content

Timestamp precision not supported in evaluation #1399

Open
@johnedquinn

Description

Description

  • Parsing of TIMESTAMP(3) is supported, however, evaluation of CAST(``2022-04-17T00:00:00.1234Z`` AS TIMESTAMP(3)) is incorrect.

To Reproduce

Steps to reproduce the behavior:

  1. Evaluate the CAST above. It parses, but evaluates to: 2022-04-17T00:00:00.1234Z

Expected Behavior

  • 2022-04-17T00:00:00.123Z

Additional Context

  • PartiQL version: 0.14.4-6634bc04

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions