diff --git a/lang/src/org/partiql/lang/types/StaticType.kt b/lang/src/org/partiql/lang/types/StaticType.kt index 4fabc9eea..23cc74d43 100644 --- a/lang/src/org/partiql/lang/types/StaticType.kt +++ b/lang/src/org/partiql/lang/types/StaticType.kt @@ -54,11 +54,13 @@ sealed class StaticType { @JvmField val INT: IntType = IntType(IntType.IntRangeConstraint.UNCONSTRAINED) @JvmField val FLOAT: FloatType = FloatType() @JvmField val DECIMAL: DecimalType = DecimalType() + @JvmField val NUMERIC: StaticType = unionOf(INT2, INT4, INT8, INT, FLOAT, DECIMAL) @JvmField val DATE: DateType = DateType() @JvmField val TIME: TimeType = TimeType() @JvmField val TIMESTAMP: TimestampType = TimestampType() @JvmField val SYMBOL: SymbolType = SymbolType() @JvmField val STRING: StringType = StringType() + @JvmField val TEXT: StaticType = unionOf(SYMBOL, STRING) @JvmField val CLOB: ClobType = ClobType() @JvmField val BLOB: BlobType = BlobType() @JvmField val LIST: ListType = ListType()