Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp precision not supported in evaluation #1399

Open
johnedquinn opened this issue Mar 25, 2024 · 0 comments
Open

Timestamp precision not supported in evaluation #1399

johnedquinn opened this issue Mar 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@johnedquinn
Copy link
Member

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
@johnedquinn johnedquinn added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant