mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
8 lines
620 B
XML
8 lines
620 B
XML
<test>
|
|
<query>select count(if(rand() % 2 = 0, 1, null)) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
|
|
<query>select count(if(rand() % 2 = 0, null, 1)) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
|
|
|
|
<query>select count(if(rand() % 2 = 0, toNullable(1), null)) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
|
|
<query>select count(if(rand() % 2 = 0, null, toNullable(1))) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
|
|
</test>
|