Skip to content

docs: fix mismatched-K "refuse to merge" claim in recently-interacted-topk - #123

Open
team-humaki wants to merge 1 commit into
gallowaysoftware:mainfrom
team-humaki:fix/topk-k-mismatch-doc
Open

team-humaki wants to merge 1 commit into
gallowaysoftware:mainfrom
team-humaki:fix/topk-k-mismatch-doc

Conversation

@team-humaki

Copy link
Copy Markdown

Fixes #102.

The ResolveK / README / test comments said mismatched-K sketches refuse to merge and show up as empty Top-N at query time. They don't — decode discards the wire header K and Combine merges at the constructing monoid's K, so a smaller-K writer silently truncates the row on the write path.

Updated pipeline.go, the example README, and the two test comments that repeated the same claim. Checked terraform/README.md — no matching claim there.

Mismatched K does not refuse to merge; a smaller-K binary silently truncates the row. Point at gallowaysoftware#101 for the wire-format fix.
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.

Fix the recently-interacted-topk K doc: mismatched K does not "refuse to merge"

1 participant