Expose accumulator state to allow prefix scanning - #24035
Conversation
ae37c0b to
65014d5
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #24035 +/- ##
========================================
Coverage 80.85% 80.85%
========================================
Files 1101 1101
Lines 374933 375580 +647
Branches 374933 375580 +647
========================================
+ Hits 303166 303692 +526
- Misses 53671 53781 +110
- Partials 18096 18107 +11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for this contribution @avantgardnerio ! I'd find it helpful if you'd elaborate a little bit more about the motivation for this change in the PR description. For example, some intended use-cases, what kind of performance improvement this unlocks, etc. |
|
@neilconway I'm trying to speed up window functions using parallel prefix scans. I am presently incubating this in Ballista, and this is the minimum API exposure that I need to do it for non-decomposable operations like The jury is still out about re-partition cost vs performance benefit, but the signs are hopeful:
And at least from a big-O time perspective (table 1) it should be optimal for some queries ( |

Summary
Expose state of aggregate streams within BWAG so downstream prefix scanning can take place.
API
🤖 Generated with Claude Code