ClickHouse/tests/queries/1_stateful/00173_group_by_use_nulls.reference
2024-08-05 15:29:14 +00:00

33 lines
498 B
Plaintext

1704509 1384
732797 1336
598875 1384
792887 1336
3807842 1336
25703952 1336
716829 1384
59183 1336
33010362 1336
800784 1336
-- { echoOn }
set enable_analyzer = 1;
SELECT
CounterID AS k,
quantileBFloat16(0.5)(ResolutionWidth)
FROM remote('127.0.0.{1,2}', test, hits)
GROUP BY k
ORDER BY
count() DESC,
CounterID ASC
LIMIT 10
SETTINGS group_by_use_nulls = 1;
1704509 1384
732797 1336
598875 1384
792887 1336
3807842 1336
25703952 1336
716829 1384
59183 1336
33010362 1336
800784 1336