mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #41463 from ClickHouse/add-test-38383
Add a test for #38383
This commit is contained in:
commit
df52df83f9
@ -35,12 +35,12 @@ private:
|
||||
using Counter = UInt64;
|
||||
size_t category_count;
|
||||
|
||||
Counter & counter(AggregateDataPtr __restrict place, size_t i, bool what) const
|
||||
static Counter & counter(AggregateDataPtr __restrict place, size_t i, bool what)
|
||||
{
|
||||
return reinterpret_cast<Counter *>(place)[i * 2 + (what ? 1 : 0)];
|
||||
}
|
||||
|
||||
const Counter & counter(ConstAggregateDataPtr __restrict place, size_t i, bool what) const
|
||||
static const Counter & counter(ConstAggregateDataPtr __restrict place, size_t i, bool what)
|
||||
{
|
||||
return reinterpret_cast<const Counter *>(place)[i * 2 + (what ? 1 : 0)];
|
||||
}
|
||||
|
@ -0,0 +1,10 @@
|
||||
0 999999 999999
|
||||
0 999998 999998
|
||||
0 999997 999997
|
||||
0 999996 999996
|
||||
0 999995 999995
|
||||
0 999994 999994
|
||||
0 999993 999993
|
||||
0 999992 999992
|
||||
0 999991 999991
|
||||
0 999990 999990
|
@ -0,0 +1 @@
|
||||
SELECT * FROM (SELECT * FROM (SELECT 0 AS a, toNullable(number) AS b, toString(number) AS c FROM numbers(1000000.)) ORDER BY a DESC, b DESC, c ASC LIMIT 1500) LIMIT 10;
|
Loading…
Reference in New Issue
Block a user