-
Notifications
You must be signed in to change notification settings - Fork 8.3k
minIf on aggregatingMergeTree #11451
Copy link
Copy link
Closed
Labels
questionQuestion?Question?
Description
Hi,
I'm trying to use minIf on a state for insertion into an aggregating merge tree and am a bit confused by the documentation. So let's say I have the following table
CREATE TABLE IF NOT EXISTS example
(
`first_sent` AggregateFunction(minIf, UInt32, UInt8),
)
ENGINE = AggregatingMergeTree()
ORDER BY (first_sent)
I want to insert into first_sent using the state. If this were a regular min, I could use minState(column). But I can't find any documented way to do this with state.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionQuestion?Question?