You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++] Use signed arithmetic for frame of reference in DeltaBitPackEncoder #37939
The current implementation of DeltaBitPackEncoder uses unsigned arithmetic to handle possible overflow when calculating deltas (see here). This has unfortunate consequences when encoding small negative deltas. As an example, writing a vector with values {1, 0, -1, 0, 1, 0, -1, 0, 1} produces the following output (starting at the delta binary header):
Activity
GH-37939: [C++] Use signed arithmetic for frame of reference when enc…
apacheGH-37939: [C++] Use signed arithmetic for frame of reference wh…
apacheGH-37939: [C++] Use signed arithmetic for frame of reference wh…
apacheGH-37939: [Swift] initial impl of C Data interface