diff --git a/partiql-types/src/main/java/org/partiql/types/PType.java b/partiql-types/src/main/java/org/partiql/types/PType.java index afc74138a8..b79e5bd282 100644 --- a/partiql-types/src/main/java/org/partiql/types/PType.java +++ b/partiql-types/src/main/java/org/partiql/types/PType.java @@ -477,6 +477,21 @@ public static int[] codes() { */ public static final int VARIANT = 25; + /** + * The SQL year-month interval type. + */ + public static final int INTERVAL_YM = 26; + + /** + * The SQL day-time interval type. + *
+ *
+ * Type Syntax: INTERVAL DAY TO SECOND, INTERVAL DAY TO SECOND(<precision>) + *
+ * Applicable methods: {@link PType#getPrecision()} + */ + public static final int INTERVAL_DT = 27; + /** * @return a PartiQL dynamic type */