Skip to content

Commit

Permalink
Update overview.mdx (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
WanYixian authored Nov 25, 2024
1 parent d197f8a commit 0debc82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sql/data-types/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ sidebarTitle: Overview
| timestamp without time zone | timestamp | Date and time (no time zone) | Example: `'2022-03-13 01:00:00'::timestamp` |
| timestamp with time zone | timestamptz | Timestamp with time zone. <br/>The 'Z' stands for UTC (Coordinated Universal Time). Timestamptz values are stored in UTC. When sinking downstream, timestamptz is represented in i64 with a resolution of microseconds. | Example: `'2022-03-13 01:00:00Z'::timestamptz` |
| interval | | Time span. <br/>Input in string format. Units include: second/seconds/s, minute/minutes/min/m, hour/hours/hr/h, day/days/d, month/months/mon, and year/years/yr/y. Units smaller than second can only be specified in a numerical format. | Examples: `interval '4 hour'``04:00:00` <br/>`interval '3 day'``3 days 00:00:00` <br/>`interval '04:00:00.1234'``04:00:00.1234` |
| struct | | A struct is a column that contains nested data. | For syntax and examples, see [Struct](/docs/current/data-type-struct/). |
| array | | An array is an ordered list of zero or more elements that share the same data type. | For syntax and examples, see [Array](/docs/current/data-type-array/). |
| map | | A map contains key-value pairs. | For syntax and examples, see [Map](/docs/current/data-type-map/). |
| JSONB | | A (binary) JSON value that ignores semantically-insignificant whitespaces or order of object keys. | For syntax and examples, see [JSONB](/docs/current/data-type-jsonb/). |
| struct | | A struct is a column that contains nested data. | For syntax and examples, see [Struct](/sql/data-types/struct). |
| array | | An array is an ordered list of zero or more elements that share the same data type. | For syntax and examples, see [Array](/sql/data-types/array-type). |
| map | | A map contains key-value pairs. | For syntax and examples, see [Map](/sql/data-types/map-type). |
| JSONB | | A (binary) JSON value that ignores semantically-insignificant whitespaces or order of object keys. | For syntax and examples, see [JSONB](/sql/data-types/jsonb). |

<Note>
Scientific notation (e.g., 1e6, 1.25e5, and 1e-4) is supported in SELECT and INSERT statements.
Expand Down

0 comments on commit 0debc82

Please sign in to comment.