From 5a9a25a5f9c80854b6f806876892b35f083920d4 Mon Sep 17 00:00:00 2001 From: John Ed Quinn Date: Tue, 16 Jul 2024 13:37:25 -0700 Subject: [PATCH] Fixes timestamp bug --- .../src/main/java/org/partiql/eval/value/DatumTimestamp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partiql-eval/src/main/java/org/partiql/eval/value/DatumTimestamp.java b/partiql-eval/src/main/java/org/partiql/eval/value/DatumTimestamp.java index 5063668e3..06f27c0c6 100644 --- a/partiql-eval/src/main/java/org/partiql/eval/value/DatumTimestamp.java +++ b/partiql-eval/src/main/java/org/partiql/eval/value/DatumTimestamp.java @@ -14,7 +14,7 @@ class DatumTimestamp implements Datum { // TODO: Pass precision to constructor. // TODO: Create a variant specifically for without TZ - private final static PType _type = PType.typeTimeWithTZ(6); + private final static PType _type = PType.typeTimestampWithTZ(6); DatumTimestamp(@NotNull Timestamp value) { _value = value;