ClickHouse/dbms/tests/queries/1_stateful/00030_array_enumerate_uniq.sql
2018-08-07 20:08:51 +03:00

2 lines
102 B
SQL

SELECT max(arrayJoin(arrayEnumerateUniq(arrayMap(x -> intDiv(x, 10), URLCategories)))) FROM test.hits