ClickHouse/tests/config
Duc Canh Le 93dd6b83e7
Do not allow creating replicated table with inconsistent merge params (#56833)
* save all merge params to zookeeper

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* calculate hash for graphite merge params

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* add graphite params hash to zookeeper + fix tests

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* install new graphite for testing

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* fix backward incompatibility

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* minor fix test

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* Update src/Storages/MergeTree/ReplicatedMergeTreeTableMetadata.cpp

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>

* remove peekString and add more comments

- peekString doesn't always work even for ReadBufferFromString
- more comment re. backward compatibility

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

---------

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-12-14 17:26:35 +01:00
..
config.d Do not allow creating replicated table with inconsistent merge params (#56833) 2023-12-14 17:26:35 +01:00
top_level_domains Fix reading of custom TLD w/o new line at EOF 2021-08-27 00:43:21 +03:00
users.d Merge remote-tracking branch 'origin/master' into fix-backup-restore-with-mv 2023-11-29 18:06:09 +01:00
client_config.xml Make tests use the installed protobuf files 2023-11-27 13:39:28 +00:00
decimals_dictionary.xml Merge remote-tracking branch 'origin/master' into HEAD 2020-04-02 20:03:20 +03:00
dhparam.pem Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
executable_dictionary.xml Fixed tests 2021-09-04 14:29:40 +03:00
executable_pool_dictionary.xml Added executable function integrations tests 2021-12-28 22:55:30 +03:00
ext-en.txt Rewrite NLP tests from integration to functional 2022-08-26 22:36:34 +02:00
ext-ru.txt Rewrite NLP tests from integration to functional 2022-08-26 22:36:34 +02:00
install.sh Do not allow creating replicated table with inconsistent merge params (#56833) 2023-12-14 17:26:35 +01:00
ints_dictionary.xml Merge remote-tracking branch 'origin/master' into HEAD 2020-04-02 20:03:20 +03:00
lem-en.bin Add missing file 2022-08-26 23:42:36 +02:00
lsan_suppressions.txt Revert "Revert "Write structure of table functions to metadata"" 2020-10-14 15:19:29 +03:00
README.md minor md fixes to test wf 2023-09-22 09:23:05 +00:00
regions_hierarchy.txt Add missing tests for legacy geobase 2022-08-26 22:17:49 +02:00
regions_names_en.txt Add missing tests for legacy geobase 2022-08-26 22:17:49 +02:00
server.crt Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
server.key Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
strings_dictionary.xml Merge remote-tracking branch 'origin/master' into HEAD 2020-04-02 20:03:20 +03:00
test_function.xml Disable parameters for non direct executable user defined functions 2022-06-16 16:29:04 +02:00

ClickHouse configs for test environment

How to use

CI use these configs in all checks installing them with install.sh script. If you want to run all tests from tests/queries/0_stateless and test/queries/1_stateful on your local machine you have to set up configs from this directory for your clickhouse-server. The easiest way is to install them using install.sh script. Another option is to copy files into your clickhouse config directory.

How to add new config

Place file .xml with new config in the appropriate directory and add ln command into install.sh script. CI will use then this config in all test runs.