You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_docs/sql-reference/data-types.adoc
+22-3
Original file line number
Diff line number
Diff line change
@@ -122,22 +122,41 @@ Maximum length: `65536`
122
122
== Date and Time Types
123
123
124
124
=== TIME
125
-
Possible values: The time data type. The format is `hh:mm[:ss]`.
125
+
Possible values: [`00-00-00`, `23-59-59.999`].
126
+
127
+
The format is `HH:mm:ss[.SSS]`.
126
128
127
129
Default precision: `0`
128
130
129
131
Maximum precision: `3`
130
132
131
133
=== DATE
132
-
Possible values: The date data type.
134
+
Possible values: [`0001-01-01`, `9999-12-31`].
133
135
134
136
The format is `yyyy-MM-dd`.
135
137
136
138
=== TIMESTAMP
137
139
138
140
WARNING: The timestamp data type only supports precision up to milliseconds (3 symbols). Any values past the 3rd symbol will be ignored.
139
141
140
-
Possible values: The timestamp data type. The format is `yyyy-MM-dd hh:mm:ss[.mmm]`.
142
+
Possible values: [`0001-01-01 18:00:00`, `9999-12-31 05:59:59.999`].
143
+
144
+
The format is `yyyy-MM-dd HH:mm:ss[.SSS]`.
145
+
146
+
Default precision: `6`
147
+
148
+
Maximum precision: `9`
149
+
150
+
=== TIMESTAMP WITH LOCAL TIME ZONE
151
+
152
+
WARNING: The timestamp with local time zone data type only supports precision up to milliseconds (3 symbols). Any values past the 3rd symbol will be ignored.
153
+
154
+
Unlike `TIMESTAMP`, the value is always stored in UTC time zone.
155
+
The value passed to/from the user is converted from/to UTC using the user's session time zone.
156
+
157
+
Possible values (in UTC time zone): [`0001-01-01 18:00:00`, `9999-12-31 05:59:59.999`].
Copy file name to clipboardExpand all lines: modules/marshaller-common/src/testFixtures/java/org/apache/ignite/internal/marshaller/testobjects/TestObjectWithAllTypes.java
0 commit comments