mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
11 lines
448 B
SQL
11 lines
448 B
SQL
|
|
-- There are currently 594 timezones which are used from the binary embedded inside the ClickHouse binary
|
|
-- Refer: contrib/cctz-cmake/CMakeLists.txt for the complete list. The count may change but we expect there will be at least 500 timezones.
|
|
-- SELECT count(*)
|
|
-- FROM system.time_zones
|
|
--
|
|
-- ┌─count()─┐
|
|
-- │ 594 │
|
|
-- └─────────┘
|
|
SELECT if ((SELECT count(*) FROM system.time_zones) > 500, 'ok', 'fail');
|