Skip to content

Conversation

@samwillis
Copy link
Contributor

@samwillis samwillis commented Jun 22, 2025

reduce was broken, it would miss deletes. This fixes it.

Essentially the proactive compaction (removing of rows with multiplicity 0) during add / append was wrong. We have to run the compaction after computing any updates. Compaction is still significantly simpler than on the full d2ts.

@samwillis samwillis mentioned this pull request Jun 22, 2025
15 tasks
Copy link
Contributor

@KyleAMathews KyleAMathews left a comment

Choose a reason for hiding this comment

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

:shipit:

@samwillis samwillis merged commit fb90328 into main Jun 22, 2025
1 check passed
@samwillis samwillis deleted the samwillis/fix-index-compaction branch June 22, 2025 15:04
cursor bot pushed a commit to samwillis/d2ts that referenced this pull request Jul 13, 2025
* fix: index compaction for reduce

* changeset
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.

3 participants