feat(experimental): add dense luDF group aggregation - #2953
Open
ibgreen-openai wants to merge 1 commit into
Open
feat(experimental): add dense luDF group aggregation#2953ibgreen-openai wants to merge 1 commit into
ibgreen-openai wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goals
Add GPU-native dense categorical grouping to the optional luDF dataframe while preserving immutable query planning, explicit null semantics, source batches, graph ownership, and direct visualization-ready output.
Changes
frame.groupBy(key).aggregate(definitions)and composable filtered/derived query variants for unsigned dense category keys.GPUGroupAggregation,GPUMask, and the existing dataframe command graph forcount,sum,min,max, andmeanacross all original source batches.Verification
nvm use— Node 22.22.1, matching.nvmrc.yarn install— enterprise registry returns HTTP 403 for an existing upstream alpha dev-tool dependency; reused the previously verified ignored dependency tree.yarn lint fix— passed across the complete repository after final source changes.yarn build— passed across every workspace package after final formatting.CI=1 yarn test— Node: 589 passed and one skipped; real Chromium/WebGPU: 1,570 passed and 25 skipped.yarn website:build— passed, including validation of 461 documentation pages.(cd website && yarn build)— passed, including validation of 461 documentation pages.yarn examples:typecheck— passed across all 46 example workspaces.yarn bundle-size— passed all seven existing bundle budgets.Scope and risks
uint32keys andfloat32numeric statistics; signed dictionary indices, sparse keys, and CPU-side domain inference are intentionally unsupported.