Skip to content

Commit c8cb101

Browse files
committed
add some cases
1 parent 3425871 commit c8cb101

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<test>
22
<query>select count(if(rand() % 2 = 0, 1, null)) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
33
<query>select count(if(rand() % 2 = 0, null, 1)) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
4+
5+
<query>select count(if(rand() % 2 = 0, toNullable(1), null)) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
6+
<query>select count(if(rand() % 2 = 0, null, toNullable(1))) from numbers(100000000) settings optimize_rewrite_aggregate_function_with_if = true</query>
47
</test>

0 commit comments

Comments
 (0)