mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Add a test for #15784
This commit is contained in:
parent
2f5dbf57b6
commit
43c36462f0
3
tests/queries/0_stateless/01768_extended_range.reference
Normal file
3
tests/queries/0_stateless/01768_extended_range.reference
Normal file
@ -0,0 +1,3 @@
|
||||
1968
|
||||
-473
|
||||
1990-01-01
|
4
tests/queries/0_stateless/01768_extended_range.sql
Normal file
4
tests/queries/0_stateless/01768_extended_range.sql
Normal file
@ -0,0 +1,4 @@
|
||||
SELECT toYear(toDateTime64('1968-12-12 11:22:33', 0, 'UTC'));
|
||||
SELECT toInt16(toRelativeWeekNum(toDateTime64('1960-11-30 18:00:11.999', 3, 'UTC')));
|
||||
SELECT toStartOfQuarter(toDateTime64('1990-01-04 12:14:12', 0, 'UTC'));
|
||||
SELECT toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')); -- { serverError 407 }
|
Loading…
Reference in New Issue
Block a user