Data Types
Input and Output Types
CeloSQL supports the following input / output data types. All types are nullable.
Data Type | Description |
|---|---|
Represents 8-byte signed integer numbers | |
Represents boolean values: TRUE, FALSE, NULL | |
Represents year, month, day, without time zone, e.g. 2025-01-01 | |
Represents numbers with maximum precision | |
Represents 8-byte double-precision floating point numbers | |
Represents year, month, day, hour, minute, second, up to 6-digit fractional second, without time zone, e.g. | |
Represents year, month, day, hour, minute, second, up to 6-digit fractional second, and time zone, e.g. | |
Represents a variable length byte sequence values | |
Represents variable length character strings | |
Represents a time interval measured in units X to Y. | |
Represents a time of day without timezone | |
BINARY* | Represents byte sequence values |
CHAR* | Represents fixed length character strings |
TIME WITH TIME ZONE+ | Represents A time of day with a timezone |
+: these types are marked as deprecated and support will be removed.
*: These types are marked as deprecated for input / output types, but still supported as In-SQL types.
In-SQL Types
CeloSQL supports the following types within SQL statements, but not as input or output types.
Data Type | Description |
|---|---|
INTEGER | Represents a 4-byte signed integer numbers |