Skip to content

Set index on derived grouped views to group columns - #3282

Merged
texodus merged 2 commits into
masterfrom
group-view-index
Nov 9, 2026
Merged

texodus merged 2 commits into
masterfrom
group-view-index

Conversation

@texodus

@texodus texodus commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Derived tables created from a group_by View with group_rollup_mode: "flat" are now indexed by their group_by columns, on both the creating client and on remote clients that open_table + view() them. With an index, upstream deletes that evict a group now emit on_remove (type "key") on the derived table and its replicas.

Also fixes two engine bugs surfaced by the new specs: View::m_column_only was never initialized (garbage __ID__/__ROW_PATH__ decoding on codec-keyed tables), and t_stree could fail to add a row to an existing null group when the null's status flavor differed from the node's.

Drivebys

Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus added the enhancement Feature requests or improvements label Nov 9, 2026
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus
texodus marked this pull request as ready for review November 9, 2026 03:10
@texodus
texodus merged commit b1a623a into master Nov 9, 2026
19 checks passed
@texodus
texodus deleted the group-view-index branch November 9, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

1 participant