mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Fix the 01428_hash_set_nan_key test not to rely on backwards-incompatible changes
in `modulo` made in https://github.com/ClickHouse/ClickHouse/pull/12585
This commit is contained in:
parent
e6420c82ca
commit
fad9ef3671
@ -1,10 +1,10 @@
|
||||
SELECT uniqExact(nan) FROM numbers(1000);
|
||||
SELECT uniqExact(number % inf) FROM numbers(1000);
|
||||
SELECT sumDistinct(number % inf) FROM numbers(1000);
|
||||
SELECT DISTINCT number % inf 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 % inf k from numbers(256) group by k order by k;
|
||||
select number + nan k from numbers(256) group by k;
|
||||
|
||||
SELECT uniqExact(reinterpretAsFloat64(reinterpretAsFixedString(reinterpretAsUInt64(reinterpretAsFixedString(nan)) + number))) n FROM numbers(10) order by n;
|
||||
SELECT uniqExact(reinterpretAsFloat64(reinterpretAsFixedString(reinterpretAsUInt64(reinterpretAsFixedString(nan)) + number))) FROM numbers(10);
|
||||
|
Loading…
Reference in New Issue
Block a user