Skip to content

WindowTopN dense_rank benchmark - #24050

Merged
kumarUjjawal merged 3 commits into
apache:mainfrom
SubhamSinghal:h2o-window-dense-rank-queries
Aug 2, 2026
Merged

WindowTopN dense_rank benchmark#24050
kumarUjjawal merged 3 commits into
apache:mainfrom
SubhamSinghal:h2o-window-dense-rank-queries

Conversation

@SubhamSinghal

Copy link
Copy Markdown
Contributor

dense_rank benchmark

@kumarUjjawalkumarUjjawal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a nit.

Comment threadbenchmarks/queries/h2o/window.sql Outdated
-- Window Top-N (DENSE_RANK top-2 per partition, ~100 partitions)
-- The DENSE_RANK queries below mirror the RANK cardinality sweep above.
-- DENSE_RANK semantics keep every row whose ORDER BY value is among the
-- K distinct-smallest values in the partition, so total kept per partition

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should we change the comment to mean greatest value?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov-commenter

codecov-commenter commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.85%. Comparing base (f3a895f) to head (e80f09d).

Additional details and impacted files
@@ Coverage Diff @@## main #24050 +/- ##
==========================================
- Coverage 80.86% 80.85% -0.01% 
==========================================
Files 1101 1101 Lines 375446 375446 Branches 375446 375446 ==========================================
- Hits 303596 303585 -11 - Misses 53757 53765 +8 - Partials 18093 18096 +3 

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kumarUjjawal
kumarUjjawal added this pull request to the merge queueAug 2, 2026
@kumarUjjawal

Copy link
Copy Markdown
Contributor

Thanks you @SubhamSinghal

Merged via the queue into apache:main with commit 60d9b67Aug 2, 2026
37 checks passed
kosiew pushed a commit to kosiew/datafusion that referenced this pull request Aug 12, 2026
Sign up for freeto 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

@SubhamSinghal@codecov-commenter@kumarUjjawal