partiql/partiql-lang-kotlin

Timestamp precision not supported in evaluation

johnedquinn opened this issue · 0 comments

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