mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
9 lines
628 B
XML
9 lines
628 B
XML
<test>
|
|
<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, 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>
|