feat(experimental): add stable luDF sorting and top-K - #2959
Open
ibgreen-openai wants to merge 2 commits into
Open
feat(experimental): add stable luDF sorting and top-K#2959ibgreen-openai wants to merge 2 commits into
ibgreen-openai wants to merge 2 commits into
Conversation
This was referenced Aug 5, 2026
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
Expose stable, GPU-resident numeric sorting and top-K selection through the optional luDF dataframe API while preserving source record batches, stable row identity, explicit null behavior, and caller-owned command submission.
Changes
LuDataFrame.sortBy,LuDataFrame.topK, and matching query methods forfloat32,sint32, anduint32columns, with typed direction, null placement, NaN placement, and existing bitonic/radix algorithm controls.Verification
nvm use: Node v22.22.1.yarn install: not rerun; reused the already verified local dependency tree because the existing enterprise alpha registry dependency returns HTTP 403.yarn lint fix: passed after final source changes.yarn build: passed after final formatting.yarn test: Node 606 passed/1 skipped; real headless Chromium/WebGPU 1,581 passed/25 skipped.yarn website:build: passed and validated 461 documentation pages.(cd website && yarn build): passed and validated 461 documentation pages.yarn examples:typecheck: passed across all 46 example workspaces.yarn bundle-size: passed all seven existing budgets.Risks and follow-up