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 }}
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
Oleg V. Kozlyuk edited this page Dec 24, 2021
·
2 revisions
AggregateFunction column type cannot be queried (or inserted to) directly. To insert into an AggregateFunction column, special functions with suffix ..State are required, like: uniqState, maxState, argMaxState.
Likewise, it's not possible to select directly from such column. To select, a function with ..Merge suffix is required: uniqMerge, maxMerge, argMaxState etc. This limitation stems from ClickHouse itself
Given a table with schema:
CREATETABLEt (
c AggregateFunction(uniq, Int8)
) ENGINE = Memory