mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Merge pull request #21447 from ClickHouse/try-fix-perftests
Try fix perftests.
This commit is contained in:
commit
5f6c8eb1d0
@ -4,4 +4,6 @@
|
||||
|
||||
<!-- Path to configuration file with users, access rights, profiles of settings, quotas. -->
|
||||
<users_config>users.xml</users_config>
|
||||
|
||||
<access_control_path>/var/lib/clickhouse/access/</access_control_path>
|
||||
</yandex>
|
@ -1,16 +1,16 @@
|
||||
<test>
|
||||
<create_query>DROP TABLE IF EXISTS test_prl;</create_query>
|
||||
<create_query>CREATE TABLE test_prl (n UInt64) ENGINE MergeTree ORDER BY n;</create_query>
|
||||
<create_query>GRANT CREATE ROW POLICY ON *.* TO CURRENT_USER</create_query>
|
||||
<!--<create_query>GRANT CREATE ROW POLICY ON *.* TO CURRENT_USER</create_query>-->
|
||||
<create_query>CREATE ROW POLICY OR REPLACE test_prl_policy ON test_prl AS PERMISSIVE FOR SELECT USING n % 7 TO ALL;</create_query>
|
||||
|
||||
<fill_query>INSERT INTO test_prl SELECT number FROM numbers(50000000);</fill_query>
|
||||
<fill_query>INSERT INTO test_prl SELECT number FROM numbers(500000000);</fill_query>
|
||||
|
||||
<query>SELECT * FROM test_prl;</query>
|
||||
<query>SELECT * FROM test_prl WHERE n % 3 AND n % 5 SETTINGS optimize_move_to_prewhere = 0;</query>
|
||||
<query>SELECT * FROM test_prl PREWHERE n % 3 AND n % 5;</query>
|
||||
<query>SELECT * FROM test_prl PREWHERE n % 3 WHERE n % 5;</query>
|
||||
<query>SELECT * FROM test_prl PREWHERE n % 5 WHERE n % 3;</query>
|
||||
<query>SELECT sum(n) FROM test_prl settings max_threads=1;</query>
|
||||
<query>SELECT sum(n) FROM test_prl WHERE n % 3 AND n % 5 SETTINGS optimize_move_to_prewhere = 0, max_threads=1;</query>
|
||||
<query>SELECT sum(n) FROM test_prl PREWHERE n % 3 AND n % 5 settings max_threads=1;</query>
|
||||
<query>SELECT sum(n) FROM test_prl PREWHERE n % 3 WHERE n % 5 settings max_threads=1;</query>
|
||||
<query>SELECT sum(n) FROM test_prl PREWHERE n % 5 WHERE n % 3 settings max_threads=1;</query>
|
||||
|
||||
<drop_query>DROP ROW POLICY IF EXISTS test_prl_policy ON test_prl;</drop_query>
|
||||
<drop_query>DROP TABLE IF EXISTS test_prl;</drop_query>
|
||||
|
Loading…
Reference in New Issue
Block a user