mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Add test
This commit is contained in:
parent
0f9eb979aa
commit
de5cc1f89f
3
tests/queries/0_stateless/01913_if_int_decimal.reference
Normal file
3
tests/queries/0_stateless/01913_if_int_decimal.reference
Normal file
@ -0,0 +1,3 @@
|
||||
2.0000000000
|
||||
1.0000000000
|
||||
2.0000000000
|
1
tests/queries/0_stateless/01913_if_int_decimal.sql
Normal file
1
tests/queries/0_stateless/01913_if_int_decimal.sql
Normal file
@ -0,0 +1 @@
|
||||
select number % 2 ? materialize(1)::Decimal(18, 10) : 2 FROM numbers(3);
|
Loading…
Reference in New Issue
Block a user