You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Dmitry Sysolyatin (Jira)" <ji...@apache.org> on 2022/09/05 07:15:00 UTC
[jira] [Created] (CALCITE-5266) Increase precision of TIMESTAMP, INTERVAL types to microseconds, nanoseconds
Dmitry Sysolyatin created CALCITE-5266:
------------------------------------------
Summary: Increase precision of TIMESTAMP, INTERVAL types to microseconds, nanoseconds
Key: CALCITE-5266
URL: https://issues.apache.org/jira/browse/CALCITE-5266
Project: Calcite
Issue Type: Improvement
Components: core
Reporter: Dmitry Sysolyatin
TIMESTAMP, INTERVAL types can preserve only milliseconds but it would be good to extend precision to microseconds and nanoseconds.
I suggest to use standard java.time classes for representing TIMESTAMP and INTERVAL type internally:
# TIMESTAMP type can be represent like java.time.Instant
# INTERVAL type can be represent like java.time.Period + java.time.Duration
What do you guys think ?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)