Repository navigation
Conversation
Contributor
|
Workflow [PR], commit [aad58f1] Summary: ✅
AI ReviewSummaryThis PR moves Missing context / blind spots
Findings
|
murphy-4o
reviewed
Jul 2, 2026
JingYanchao
force-pushed
the
johnjing/optimize-unique-key-serialization
branch
from
July 9, 2026 08:47
3c4eb27 to
728e29a
Compare
JingYanchao
force-pushed
the
johnjing/optimize-unique-key-serialization
branch
from
July 17, 2026 03:31
293cbd1 to
b4bb38d
Compare
murphy-4o
reviewed
Jul 22, 2026
JingYanchao
force-pushed
the
johnjing/optimize-unique-key-serialization
branch
from
July 27, 2026 06:07
b6973c3 to
a5fb6ff
Compare
JingYanchao
force-pushed
the
johnjing/optimize-unique-key-serialization
branch
from
July 28, 2026 12:35
7d34b10 to
d12a034
Compare
Contributor
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 329/372 (88.44%) · Uncovered code |
Contributor
Author
|
@murphy-4o Could you please review it again? Thanks! |
murphy-4o
approved these changes
Jul 29, 2026
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Move UNIQUE KEY byte-comparable serialization from a centralized type-switch into per-column virtual methods on
IColumn.Descrption
The previous implementation in
UniqueKeyEncoding.cppplaced all type-specific encoding logic in a single monolithic switch, requiring modifications to this central file for every new type.This refactoring moves the encoding logic into the column classes themselves as virtual methods (
serializeValueIntoMemoryAsComparable,batchSerializeComparableIntoMemory), following the same pattern asserializeValueIntoArena. Adding support for a new column type now only requires overriding these methods in the column class — no central dispatch table to maintain.The encoding algorithm for every supported type is unchanged — same byte layout, same ordering semantics, fully wire-compatible.
Memory pre-allocation can be added in a follow-up if profiling shows the per-row append overhead is worth it.
Version info
26.8.1.334(included in26.8and later)