Merge pull request #45503 from ClickHouse/serxa-patch-3

Provide more clear syntax for `fromUnixTimestamp64*` and `toUnixTimestamp64*` functions
This commit is contained in:
Sergei Trifonov 2023-01-23 16:28:32 +01:00 committed by GitHub
commit e1b20e4314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1402,6 +1402,8 @@ The output value is a timestamp in UTC, not in the timezone of `DateTime64`.
```sql
toUnixTimestamp64Milli(value)
toUnixTimestamp64Micro(value)
toUnixTimestamp64Nano(value)
```
**Arguments**
@ -1455,7 +1457,9 @@ Converts an `Int64` to a `DateTime64` value with fixed sub-second precision and
**Syntax**
``` sql
fromUnixTimestamp64Milli(value [, ti])
fromUnixTimestamp64Milli(value [, timezone])
fromUnixTimestamp64Micro(value [, timezone])
fromUnixTimestamp64Nano(value [, timezone])
```
**Arguments**