Skip to content

Commit

Permalink
Added test from ClickHouse#16588
Browse files Browse the repository at this point in the history
  • Loading branch information
KochetovNicolai committed Nov 13, 2020
1 parent e55e20f commit b5a8ef3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SET max_bytes_before_external_group_by = 200000000;

SET max_memory_usage = 1500000000;
SET max_threads = 12;

SELECT bitAnd(number, pow(2, 20) - 1) as k, argMaxIf(k, number % 2 = 0 ? number : Null, number > 42), uniq(number) AS u FROM numbers(1000000) GROUP BY k format Null;

0 comments on commit b5a8ef3

Please sign in to comment.