mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Update tests
This commit is contained in:
parent
36bea6abb4
commit
aa8b52fe58
@ -25,4 +25,5 @@
|
||||
<query>SELECT if(number % 2, arraySum(bitPositionsToArray(number)), arraySum(bitPositionsToArray(number + 1))) FROM numbers(10000000) FORMAT Null</query>
|
||||
<query>SELECT if(number % 5 == 0, arraySum(bitPositionsToArray(number)), 0) from numbers(10000000) FORMAT Null</query>
|
||||
<query>SELECT if(number % 2, number + intDiv(number, number + 1), 3 + intDiv(number, number + 1)), if(number % 3 = 0, number, 4 + intDiv(number, number + 1)) FROM numbers(10000000) FORMAT Null</query>
|
||||
<query>SELECT if(number % 5 == 0, toInt8OrZero(toString(number)), Null) FROM numbers(100000000) FORMAT Null</query>
|
||||
</test>
|
||||
|
@ -1390,3 +1390,8 @@ Decimal32
|
||||
21
|
||||
14
|
||||
10
|
||||
0.00
|
||||
42.00
|
||||
21.00
|
||||
14.00
|
||||
10.50
|
||||
|
@ -121,3 +121,5 @@ select if(number > 0, intDiv(42, number), 1) from numbers(5);
|
||||
select if(number > 0, intDiv(42, number), 1) from numbers(5);
|
||||
select if(number > 0, intDiv(42, number), 1) from numbers(5);
|
||||
select if(number > 0, intDiv(42, number), 1) from numbers(5);
|
||||
|
||||
select if(number > 0, 42 / toDecimal32(number, 2), 0) from numbers(5);
|
||||
|
Loading…
Reference in New Issue
Block a user