mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
fad9ef3671
in `modulo` made in https://github.com/ClickHouse/ClickHouse/pull/12585
11 lines
497 B
SQL
11 lines
497 B
SQL
SELECT uniqExact(nan) FROM numbers(1000);
|
|
SELECT uniqExact(number + nan) FROM numbers(1000);
|
|
SELECT sumDistinct(number + nan) FROM numbers(1000);
|
|
SELECT DISTINCT number + nan FROM numbers(1000);
|
|
|
|
SELECT topKWeightedMerge(1)(initializeAggregation('topKWeightedState(1)', nan, arrayJoin(range(10))));
|
|
|
|
select number + nan k from numbers(256) group by k;
|
|
|
|
SELECT uniqExact(reinterpretAsFloat64(reinterpretAsFixedString(reinterpretAsUInt64(reinterpretAsFixedString(nan)) + number))) FROM numbers(10);
|