Skip to content

Rebuild Ordinals map in FilterBy for filtered column slice#15

Open
dnovitski wants to merge 1 commit into
masterfrom
fix/filterby-ordinals
Open

Rebuild Ordinals map in FilterBy for filtered column slice#15
dnovitski wants to merge 1 commit into
masterfrom
fix/filterby-ordinals

Conversation

@dnovitski

Copy link
Copy Markdown
Owner

FilterBy returned a new ColumnList sharing the parent's Ordinals map, which maps to indices in the original (unfiltered) column slice. GetColumn() on the filtered list could return wrong columns or panic with index out of range.

Recompute Ordinals for filtered column lists.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant