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

   ### Purpose
   Introduce the basic data types module including:
   
   - **Decimal**: A 128-bit decimal type compatible with Java Paimon's 
`DecimalData`. 
   - **Blob**: A binary large object type that supports reading from file paths 
or blob descriptors. 
   - **Timestamp**: An immutable timestamp type representing milliseconds + 
nanos-of-millisecond since epoch.
   - **Logger**: A pluggable logging framework with a default glog-based 
adapter, supporting custom logger registration and thread-safe initialization.
   
   Internal utilities added:
   - `BlobDescriptor`: Serializable descriptor for blob references with 
versioned binary format (v1/v2 compatible with Java).
   - `BlobDefs`: Constants for blob file format (magic number, header layout, 
etc.).
   - `BlobUtils`: Helper functions for separating blob/non-blob fields in Arrow 
schemas and arrays.
   
   ### Tests
   - `BlobTest`
   - `BlobDescriptorTest`
   - `BlobUtilsTest`
   - `DecimalTest`
   - `TimestampTest`
   - `LoggerTest`
   
   ### API and Format
   
   This change adds new public headers under `include/paimon/data/`:
   - `blob.h` — `Blob` class
   - `decimal.h` — `Decimal` class
   - `timestamp.h` — `Timestamp` class
   
   And extends `include/paimon/logging.h` with the `Logger` interface.
   
   No existing API or storage format is changed.


-- 
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