ClickHouse/tests/queries/0_stateless/02366_union_decimal_conversion.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

2 lines
202 B
MySQL
Raw Normal View History

2022-07-26 11:14:38 +00:00
select sum(a), sum(b) from cluster(test_cluster_two_shards, view(select cast(number as Decimal(7, 2)) a, 0 as b from numbers(2) union all select 0, cast(number as Decimal(7, 2)) as b from numbers(2)));