Minor modifications

This commit is contained in:
Alexey Milovidov 2020-08-24 23:35:38 +03:00
parent 13852301ae
commit 31240aa243
5 changed files with 6 additions and 7 deletions

1
.gitignore vendored
View File

@ -8,7 +8,6 @@
# auto generated files
*.logrt
src/Storages/System/StorageSystemTimeZones.generated.cpp
/build
/build_*

View File

@ -182,7 +182,6 @@ SRCS(
System/StorageSystemTableEngines.cpp
System/StorageSystemTableFunctions.cpp
System/StorageSystemTables.cpp
System/StorageSystemTimeZones.cpp
System/StorageSystemUserDirectories.cpp
System/StorageSystemUsers.cpp
System/StorageSystemZeros.cpp

View File

@ -7,7 +7,7 @@ PEERDIR(
)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -P 'Kafka|RabbitMQ|S3|HDFS|Licenses' | sed 's/^\.\// /' | sort ?>
<? find . -name '*.cpp' | grep -v -F tests | grep -v -P 'Kafka|RabbitMQ|S3|HDFS|Licenses|TimeZones' | sed 's/^\.\// /' | sort ?>
)
END()

View File

@ -1,9 +1,9 @@
-- There are currently 562 timezones which are used from the binary embedded inside the ClickHouse binary
-- Refer: contrib/cctz-cmake/CMakeLists.txt for the complete list. The count should match when queried.
-- 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()─┐
-- │ 562
-- │ 594
-- └─────────┘
SELECT if ((SELECT count(*) FROM system.time_zones) = 562, 'ok', 'fail');
SELECT if ((SELECT count(*) FROM system.time_zones) > 500, 'ok', 'fail');

View File

@ -135,3 +135,4 @@
01391_join_on_dict_crash
01401_FORMAT_SETTINGS
01411_bayesian_ab_testing
01455_time_zones