mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
Add new test about mixing decimals and ints
This test is broken with the old code
This commit is contained in:
parent
0b52166deb
commit
284070d419
@ -17,3 +17,9 @@ a
|
||||
a
|
||||
\N
|
||||
c
|
||||
sep1
|
||||
80000
|
||||
80000
|
||||
sep2
|
||||
80000
|
||||
80000
|
||||
|
@ -18,3 +18,8 @@ select transform(1, [1,2], ['a','b'], null);
|
||||
select transform(1, [1,2], ['a','b'], 'c');
|
||||
select transform(5, [1,2], ['a','b'], null);
|
||||
select transform(5, [1,2], ['a','b'], 'c');
|
||||
|
||||
select 'sep1';
|
||||
SELECT transform(number, [2], [toDecimal32(1, 1)], materialize(80000)) as x FROM numbers(2);
|
||||
select 'sep2';
|
||||
SELECT transform(number, [2], [toDecimal32(1, 1)], 80000) as x FROM numbers(2);
|
||||
|
Loading…
Reference in New Issue
Block a user