Skip to content

Commit 2bd5b24

Browse files
committed
prettier
1 parent 418f27c commit 2bd5b24

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • docs/source/user-guide/latest/compatibility/expressions

docs/source/user-guide/latest/compatibility/expressions/cast.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ The result is always a wall-clock timestamp with no timezone conversion or DST a
107107

108108
Comet supports the following `TIMESTAMP_NTZ` casts natively:
109109

110-
| Cast | Compatible | Notes |
111-
|------|-----------|-------|
112-
| `CAST(timestamp_ntz AS STRING)` | Yes | Formats local time as-is, timezone-independent |
113-
| `CAST(timestamp_ntz AS DATE)` | Yes | Extracts the date component, timezone-independent |
114-
| `CAST(timestamp_ntz AS TIMESTAMP)` | Yes | Interprets NTZ as local time in session TZ, converts to UTC epoch |
115-
| `CAST(date AS TIMESTAMP_NTZ)` | Yes | Pure arithmetic, timezone-independent |
116-
| `CAST(timestamp AS TIMESTAMP_NTZ)` | Yes | Shifts UTC epoch to local time in session TZ |
117-
| `CAST(string AS TIMESTAMP_NTZ)` | Yes | See [String to TimestampNTZ](#string-to-timestampntz) above |
110+
| Cast | Compatible | Notes |
111+
| ---------------------------------- | ---------- | ----------------------------------------------------------------- |
112+
| `CAST(timestamp_ntz AS STRING)` | Yes | Formats local time as-is, timezone-independent |
113+
| `CAST(timestamp_ntz AS DATE)` | Yes | Extracts the date component, timezone-independent |
114+
| `CAST(timestamp_ntz AS TIMESTAMP)` | Yes | Interprets NTZ as local time in session TZ, converts to UTC epoch |
115+
| `CAST(date AS TIMESTAMP_NTZ)` | Yes | Pure arithmetic, timezone-independent |
116+
| `CAST(timestamp AS TIMESTAMP_NTZ)` | Yes | Shifts UTC epoch to local time in session TZ |
117+
| `CAST(string AS TIMESTAMP_NTZ)` | Yes | See [String to TimestampNTZ](#string-to-timestampntz) above |
118118

119119
The NTZ-to-Timestamp and Timestamp-to-NTZ casts are session-timezone-dependent (the session
120120
timezone determines the UTC offset). All other NTZ casts are timezone-independent and produce

0 commit comments

Comments
 (0)