ClickHouse/tests/queries/0_stateless/01455_time_zones.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
448 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
2020-08-24 20:35:38 +00:00
-- 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.
2020-08-19 18:45:11 +00:00
-- SELECT count(*)
-- FROM system.time_zones
--
-- ┌─count()─┐
2020-08-24 20:35:38 +00:00
-- │ 594 │
2020-08-19 18:45:11 +00:00
-- └─────────┘
2020-08-24 20:35:38 +00:00
SELECT if ((SELECT count(*) FROM system.time_zones) > 500, 'ok', 'fail');