Skip to content

fix: DH-20036: Skip totalsConfig updates during model transitions to prevent stale column errors#2645

Merged
gzh2003 merged 2 commits intodeephaven:mainfrom
gzh2003:DH-20036-completely-removing-a-rollup-that-had-an-aggregation-applied-throws-an-internal-error-in-the-cs-console
Mar 26, 2026
Merged

fix: DH-20036: Skip totalsConfig updates during model transitions to prevent stale column errors#2645
gzh2003 merged 2 commits intodeephaven:mainfrom
gzh2003:DH-20036-completely-removing-a-rollup-that-had-an-aggregation-applied-throws-an-internal-error-in-the-cs-console

Conversation

@gzh2003
Copy link
Copy Markdown
Contributor

@gzh2003 gzh2003 commented Mar 26, 2026

For DH-20036. Fixes a bug where removing a rollup group while keeping an aggregation (like CountDistinct) causes an error.

@gzh2003 gzh2003 requested a review from bmingles March 26, 2026 17:08
@gzh2003 gzh2003 self-assigned this Mar 26, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 26, 2026

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 49.76%. Comparing base (0cab21d) to head (cf4bd5a).
⚠️ Report is 29 commits behind head on main.

Files with missing lines Patch % Lines
packages/iris-grid/src/IrisGridProxyModel.ts 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2645      +/-   ##
==========================================
+ Coverage   49.48%   49.76%   +0.28%     
==========================================
  Files         772      774       +2     
  Lines       43738    43864     +126     
  Branches    11066    11106      +40     
==========================================
+ Hits        21643    21831     +188     
+ Misses      22077    22015      -62     
  Partials       18       18              
Flag Coverage Δ
unit 49.76% <75.00%> (+0.28%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Contributor

@bmingles bmingles left a comment

Choose a reason for hiding this comment

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

Changes look good. I also verified that the error no longer shows up.

@gzh2003 gzh2003 merged commit 68e2734 into deephaven:main Mar 26, 2026
14 checks passed
@gzh2003 gzh2003 deleted the DH-20036-completely-removing-a-rollup-that-had-an-aggregation-applied-throws-an-internal-error-in-the-cs-console branch March 26, 2026 21:02
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants