mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Merge pull request #58873 from ClickHouse/fix-00089_group_by_arrays_of_fixed
Fix `00089_group_by_arrays_of_fixed` with external aggregation
This commit is contained in:
commit
c8a313da5a
@ -1797,8 +1797,8 @@ void Aggregator::writeToTemporaryFile(AggregatedDataVariants & data_variants, si
|
||||
rows,
|
||||
ReadableSize(uncompressed_size),
|
||||
ReadableSize(compressed_size),
|
||||
static_cast<double>(uncompressed_size) / rows,
|
||||
static_cast<double>(compressed_size) / rows,
|
||||
rows ? static_cast<double>(uncompressed_size) / rows : 0.0,
|
||||
rows ? static_cast<double>(compressed_size) / rows : 0.0,
|
||||
static_cast<double>(uncompressed_size) / compressed_size,
|
||||
static_cast<double>(rows) / elapsed_seconds,
|
||||
ReadableSize(static_cast<double>(uncompressed_size) / elapsed_seconds),
|
||||
|
@ -1 +1 @@
|
||||
SELECT arr, count() AS c FROM (SELECT arrayMap(x -> x % 2, groupArray(number)) AS arr FROM (SELECT number FROM system.numbers LIMIT 10000) GROUP BY number % ((number * 0xABCDEF0123456789 % 1234) + 1)) GROUP BY arr ORDER BY c DESC, arr ASC;
|
||||
SELECT arr, count() AS c FROM (SELECT arrayMap(x -> x % 2, arraySort(groupArray(number))) AS arr FROM (SELECT number FROM system.numbers LIMIT 10000) GROUP BY number % ((number * 0xABCDEF0123456789 % 1234) + 1)) GROUP BY arr ORDER BY c DESC, arr ASC;
|
Loading…
Reference in New Issue
Block a user