fix performance tests error

This commit is contained in:
JackyWoo 2023-08-02 10:15:56 +08:00
parent 93b28903cb
commit ef3f5e2a7c

View File

@ -1,10 +1,10 @@
<test>
<settings><optimize_uniq_to_count>1</optimize_uniq_to_count></settings>
<query>select uniq(number) from (select DISTINCT number from numbers(100000000))</query>
<query>select uniq(number) from (select number from numbers(100000000) group by number)</query>
<query>select uniq(number) from (select DISTINCT number from numbers(100000000)) SETTINGS optimize_uniq_to_count=1</query>
<query>select uniq(number) from (select number from numbers(100000000) group by number) SETTINGS optimize_uniq_to_count=1</query>
<!--For new analyzer-->
<query>select uniq(number) from (select DISTINCT number from numbers(100000000)) settings allow_experimental_analyzer = 1</query>
<query>select uniq(number) from (select number from numbers(100000000) group by number) settings allow_experimental_analyzer = 1</query>
<query>select uniq(number) from (select DISTINCT number from numbers(100000000)) SETTINGS allow_experimental_analyzer=1, optimize_uniq_to_count=1</query>
<query>select uniq(number) from (select number from numbers(100000000) group by number) SETTINGS allow_experimental_analyzer=1, optimize_uniq_to_count=1</query>
</test>