mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Merge pull request #53906 from ClickHouse/tzfix
Fix flakiness of 00514_interval_operators
This commit is contained in:
commit
3dc4194978
@ -618,6 +618,9 @@ class SettingsRandomizer:
|
|||||||
"America/Mazatlan",
|
"America/Mazatlan",
|
||||||
"America/Hermosillo",
|
"America/Hermosillo",
|
||||||
"Mexico/BajaSur",
|
"Mexico/BajaSur",
|
||||||
|
# These timezones had DST transitions on some unusual dates (e.g. 2000-01-15 12:00:00).
|
||||||
|
"Africa/Khartoum",
|
||||||
|
"Africa/Juba",
|
||||||
# server default that is randomized across all timezones
|
# server default that is randomized across all timezones
|
||||||
# NOTE: due to lots of trickery we cannot use empty timezone here, but this should be the same.
|
# NOTE: due to lots of trickery we cannot use empty timezone here, but this should be the same.
|
||||||
get_localzone(),
|
get_localzone(),
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
SET session_timezone = 'Etc/UTC';
|
||||||
|
|
||||||
SELECT toDateTime('2017-10-30 08:18:19') + INTERVAL 1 DAY + INTERVAL 1 MONTH - INTERVAL 1 YEAR;
|
SELECT toDateTime('2017-10-30 08:18:19') + INTERVAL 1 DAY + INTERVAL 1 MONTH - INTERVAL 1 YEAR;
|
||||||
SELECT toDateTime('2017-10-30 08:18:19') + INTERVAL 1 HOUR + INTERVAL 1000 MINUTE + INTERVAL 10 SECOND;
|
SELECT toDateTime('2017-10-30 08:18:19') + INTERVAL 1 HOUR + INTERVAL 1000 MINUTE + INTERVAL 10 SECOND;
|
||||||
SELECT toDateTime('2017-10-30 08:18:19') + INTERVAL 1 DAY + INTERVAL number MONTH FROM system.numbers LIMIT 20;
|
SELECT toDateTime('2017-10-30 08:18:19') + INTERVAL 1 DAY + INTERVAL number MONTH FROM system.numbers LIMIT 20;
|
||||||
|
Loading…
Reference in New Issue
Block a user