You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "lszskye (via GitHub)" <gi...@apache.org> on 2026/05/25 03:26:00 UTC
[PR] feat: introduce basic data types including decimal, blob and timestamp [paimon-cpp]
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: introduce basic data types including decimal, blob and timestamp [paimon-cpp]
Posted by "leaves12138 (via GitHub)" <gi...@apache.org>.
leaves12138 merged PR #10:
URL: https://github.com/apache/paimon-cpp/pull/10
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org