Fix doFinalReduction to remove keys #3501
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3501 +/- ##
============================================
- Coverage 76.35% 76.20% -0.16%
- Complexity 13424 13895 +471
============================================
Files 1012 1030 +18
Lines 60341 62762 +2421
Branches 7075 7350 +275
============================================
+ Hits 46076 47830 +1754
- Misses 11548 11956 +408
- Partials 2717 2976 +259 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hi @theneelshah, If I'm understanding the change correctly, the new behaviour somewhat contradicts the currently documented group() step semantics. These docs will need updating if we are to proceed. Could you share some extra details on what use case is motivating this change? Also if we proceed here, I think this change likely warrants adding a new scenario to Group.feature as well as a quick |
|
After taking a closer look and running some test queries in this branch, I think I misunderstood the scope of this change. It's more narrow than I previously thought and I no longer think it's in violation of the documented semantics. I now understand it to be a bug fix for a specific edge case. I no longer think any docs changes are warranted here, I think all that is needed is a feature test for |
Fix doFinalReduction to remove keys when post-barrier steps produce nothing. This fixes the empty keys in the output. Only the keys with values show up.