lucasfang opened a new pull request, #59:
URL: https://github.com/apache/paimon-cpp/pull/59
### Purpose
Linked issue: No linked issue
This change adds core options and utility support used by table metadata,
partition path handling, field mapping, offsets, durations, and commit
increments.
Included changes:
- Public utility API:
- Adds `include/paimon/utils/special_field_ids.h` for shared special field
identifiers.
- Core options:
- Adds option enums and configuration helpers for changelog producer,
compression, expiration, external path strategy, lookup compact mode, lookup
strategy, merge engine, sort engine, and sort order.
- Core utilities:
- Adds path factory helpers.
- Adds file utility helpers.
- Adds partition path parsing and generation utilities.
- Adds field mapping utilities.
- Adds offset row support.
- Adds duration, commit increment, and special field id utility
implementations.
- Test coverage:
- Adds tests for lookup strategy, file utilities, partition path
utilities, field mapping, and offset row behavior.
### Tests
Not run.
Test coverage included in this change:
- `src/paimon/core/options/lookup_strategy_test.cpp`
- `src/paimon/core/utils/file_utils_test.cpp`
- `src/paimon/core/utils/partition_path_utils_test.cpp`
- `src/paimon/core/utils/field_mapping_test.cpp`
- `src/paimon/core/utils/offset_row_test.cpp`
### API and Format
This change adds public API in:
- `include/paimon/utils/special_field_ids.h`
No storage format or protocol changes.
### Documentation
No documentation changes required.
### Generative AI tooling
Migrate-by: Aone Copilot (GPT-5.5)
--
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]