@@ -107,14 +107,14 @@ The result is always a wall-clock timestamp with no timezone conversion or DST a
107107
108108Comet 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
119119The NTZ-to-Timestamp and Timestamp-to-NTZ casts are session-timezone-dependent (the session
120120timezone determines the UTC offset). All other NTZ casts are timezone-independent and produce
0 commit comments