lszskye opened a new pull request, #22:
URL: https://github.com/apache/paimon-cpp/pull/22

   ### Purpose
   Introduce the binary row data format, compatible with Java Paimon's 
`BinaryRow` serialization format. This module provides efficient in-memory row 
representation with fixed-length and variable-length parts within a single 
`MemorySegment`.
   
   Key components:
   - **BinaryWriter**: Abstract interface defining the write protocol.
   - **AbstractBinaryWriter**: Template-method base class implementing 
variable-length field writing (strings, bytes, decimals, timestamps, arrays, 
rows, maps) with auto-growing buffer management.
   - **BinaryRowWriter**: Concrete writer for `BinaryRow`, supporting all 
Paimon data types.
   - **BinaryRow**: Immutable binary row representation backed by 
`MemorySegment`. Implements `InternalRow` for reading all field types, supports 
null tracking via bit set, hashing, equality comparison, and copy operations.
   - **BinaryDataReadUtils**: Static utilities for reading typed fields 
(Timestamp, Decimal, BinaryString, Array, Row, Map) from memory segments with 
proper offset/size decoding.
   
   ### Tests
   - `BinaryRowTest`
   - `BinaryRowWriterTest`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to