Skip to content

Conversation

kbennoune
Copy link

Description

Simple Aggregate Functions let you use some aggregate functions with SummingMergeTree and AggregatingMergeTree materialized views without having to use State and Merge suffixes.

e.g.

    create_table :mv_target, id: false, options: "SummingMergeTree((total_count_sum, last_timestamp)) do |t|
      t.integer :account_id, limit: 8, null: false
      t.integer :total_count_sum
      t.column :last_timestamp, "SimpleAggregateFunction(anyLast,DateTime64)", null: false
    end

@kbennoune kbennoune requested review from mjc-gh and a team July 9, 2025 18:30
@kbennoune kbennoune changed the base branch from master to huntress_mods_7-2 July 9, 2025 19:30
@kbennoune kbennoune force-pushed the kbennoune/add-support-for-simple-aggregate-functions branch from d2a783f to a4503f5 Compare July 9, 2025 19:33
@kbennoune kbennoune changed the base branch from huntress_mods_7-2 to master July 9, 2025 20:03
@kbennoune kbennoune force-pushed the kbennoune/add-support-for-simple-aggregate-functions branch from a4503f5 to 5a0bc3e Compare July 9, 2025 20:03
@kbennoune kbennoune changed the base branch from master to huntress_mods_7-2 July 9, 2025 20:04
@kbennoune kbennoune merged commit 409ef95 into huntress_mods_7-2 Jul 9, 2025
16 checks passed
kbennoune added a commit that referenced this pull request Aug 21, 2025
kbennoune added a commit that referenced this pull request Aug 21, 2025
kbennoune added a commit that referenced this pull request Aug 21, 2025
@kbennoune kbennoune deleted the kbennoune/add-support-for-simple-aggregate-functions branch August 22, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants