You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A list of unusual queries that only work with Analyzer #56337
SELECT *, ngramMinHash(*) AS minhash, mortonEncode(untuple(ngramMinHash(*))) AS z FROM symbols ORDER BY z LIMIT 100
WITH
4096 AS w, 4096 AS h, w * h AS pixels,
arrayJoin(coverage) AS num,
num DIV (32768 * 32768 DIV pixels) AS idx,
mortonDecode(2, idx) AS coord,
255 AS b,
least(255, uniq(test_name)) AS r,
255 * uniq(test_name) / (max(uniq(test_name)) OVER ()) AS g
SELECT r::UInt8, g::UInt8, b::UInt8
FROM system.coverage_
GROUP BY coord
ORDER BY coord.2 * w + coord.1
WITH FILL FROM 0 TO 4096*2048
Activity
Algunenano commentedon Nov 6, 2023
Using CTE results inside table functions: