lucasfang opened a new pull request, #118:
URL: https://github.com/apache/paimon-cpp/pull/118
### Purpose
Linked issue: No linked issue
This change adds snapshot management, snapshot info, and table core
utilities with comprehensive test coverage.
Included changes:
- **Snapshot module** (`src/paimon/core/snapshot.h`,
`src/paimon/core/snapshot.cpp`):
- Adds snapshot data structure and serialization/deserialization logic
- Provides snapshot metadata management capabilities
- **Snapshot Info module** (`include/paimon/snapshot/snapshot_info.h`,
`src/paimon/core/snapshot_info.cpp`):
- Adds public API for snapshot information access
- Implements snapshot info utility functions
- **Table module** (`src/paimon/core/table/bucket_mode.h`,
`src/paimon/core/table/table.cpp`):
- Adds bucket mode enumeration and table configuration
- Implements table core operations
- **Test coverage**:
- Adds `snapshot_test.cpp` with comprehensive test cases for snapshot
functionality
- Adds `table_test.cpp` with test cases for table operations
### Tests
Not run. Local compile, CMake, and gtest environment checks are not part of
this PR description.
Test coverage included in this change:
- `snapshot_test.cpp`
- `table_test.cpp`
### API and Format
This change adds public API in `include/paimon/snapshot/snapshot_info.h`.
No storage format or protocol changes.
### Documentation
No documentation changes required.
### Generative AI tooling
Migrate-by: Aone Copilot (Qwen3.7-Max)
--
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]