Skip to content

Fix doFinalReduction to remove keys when post-barrier steps produce nothing#3513

Merged
Cole-Greer merged 1 commit into
apache:3.8-devfrom
theneelshah:3.8-dev
Jul 16, 2026
Merged

Fix doFinalReduction to remove keys when post-barrier steps produce nothing#3513
Cole-Greer merged 1 commit into
apache:3.8-devfrom
theneelshah:3.8-dev

Conversation

@theneelshah

Copy link
Copy Markdown
Contributor

No description provided.

@codecov-commenter

codecov-commenter commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (3.8-dev@24c517b). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             3.8-dev    #3513   +/-   ##
==========================================
  Coverage           ?   76.50%           
  Complexity         ?    14916           
==========================================
  Files              ?     1160           
  Lines              ?    72219           
  Branches           ?     8070           
==========================================
  Hits               ?    55250           
  Misses             ?    14032           
  Partials           ?     2937           

☔ 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.

@Cole-Greer

Copy link
Copy Markdown
Contributor

Following my comment in the original PR, I think it's nonsensical that a non-productive by() would result in different behaviours (filter vs empty list) depending on if a barrier happens to be present. I agree this is a bug, as the semantics of group().by() should not have special cases for barriers, it would be inconsistent and unpredictable. For this reason, I think it's suitable for inclusion in 3.8-dev.

VOTE +1

@xiazcy

xiazcy commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

VOTE +1

1 similar comment
@kenhuuu

kenhuuu commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

VOTE +1

@Cole-Greer
Cole-Greer merged commit 673fcd6 into apache:3.8-dev Jul 16, 2026
26 checks passed
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.

5 participants