mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge pull request #57315 from Algunenano/randomize_optimizations
Randomize disabled optimizations in CI
This commit is contained in:
commit
a45c8bd7f1
@ -555,8 +555,12 @@ class SettingsRandomizer:
|
|||||||
"prefer_localhost_replica": lambda: random.randint(0, 1),
|
"prefer_localhost_replica": lambda: random.randint(0, 1),
|
||||||
"max_block_size": lambda: random.randint(8000, 100000),
|
"max_block_size": lambda: random.randint(8000, 100000),
|
||||||
"max_threads": lambda: random.randint(1, 64),
|
"max_threads": lambda: random.randint(1, 64),
|
||||||
"optimize_or_like_chain": lambda: random.randint(0, 1),
|
"optimize_append_index": lambda: random.randint(0, 1),
|
||||||
|
"optimize_if_chain_to_multiif": lambda: random.randint(0, 1),
|
||||||
|
"optimize_if_transform_strings_to_enum": lambda: random.randint(0, 1),
|
||||||
"optimize_read_in_order": lambda: random.randint(0, 1),
|
"optimize_read_in_order": lambda: random.randint(0, 1),
|
||||||
|
"optimize_or_like_chain": lambda: random.randint(0, 1),
|
||||||
|
"optimize_substitute_columns": lambda: random.randint(0, 1),
|
||||||
"enable_multiple_prewhere_read_steps": lambda: random.randint(0, 1),
|
"enable_multiple_prewhere_read_steps": lambda: random.randint(0, 1),
|
||||||
"read_in_order_two_level_merge_threshold": lambda: random.randint(0, 100),
|
"read_in_order_two_level_merge_threshold": lambda: random.randint(0, 100),
|
||||||
"optimize_aggregation_in_order": lambda: random.randint(0, 1),
|
"optimize_aggregation_in_order": lambda: random.randint(0, 1),
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
set optimize_group_by_function_keys = 1;
|
set optimize_group_by_function_keys = 1;
|
||||||
|
set optimize_syntax_fuse_functions = 0;
|
||||||
set allow_experimental_analyzer = 1;
|
set allow_experimental_analyzer = 1;
|
||||||
|
|
||||||
-- { echoOn }
|
-- { echoOn }
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
SET convert_query_to_cnf = 1;
|
SET convert_query_to_cnf = 1;
|
||||||
SET optimize_using_constraints = 1;
|
SET optimize_using_constraints = 1;
|
||||||
|
SET optimize_append_index = 0;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS t_constraints_where;
|
DROP TABLE IF EXISTS t_constraints_where;
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
set allow_experimental_analyzer = 1;
|
set allow_experimental_analyzer = 1;
|
||||||
|
set optimize_syntax_fuse_functions = 0;
|
||||||
|
|
||||||
EXPLAIN QUERY TREE run_passes=1
|
EXPLAIN QUERY TREE run_passes=1
|
||||||
SELECT avg(log(2) * number) AS k FROM numbers(10000000)
|
SELECT avg(log(2) * number) AS k FROM numbers(10000000)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
SET allow_experimental_analyzer = 1;
|
SET allow_experimental_analyzer = 1;
|
||||||
|
SET optimize_functions_to_subcolumns = 0;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS test_table;
|
DROP TABLE IF EXISTS test_table;
|
||||||
CREATE TABLE test_table (id UInt64, value Tuple(a UInt64)) ENGINE=MergeTree ORDER BY id;
|
CREATE TABLE test_table (id UInt64, value Tuple(a UInt64)) ENGINE=MergeTree ORDER BY id;
|
||||||
|
Loading…
Reference in New Issue
Block a user