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

   ### Purpose
   
   Linked issue: No linked issue
   
   This change adds mergetree compaction core components and level management 
support.
   
   Included changes:
   
   - **Mergetree sorted run utilities**:
     - Adds `sorted_run.h` for sorted run data structure
     - Adds test coverage in `sorted_run_test.cpp`
   
   - **Mergetree level management**:
     - Adds `levels.h` and `levels.cpp` for level tracking and management
     - Adds `level_sorted_run.h` for level-sorted run association
     - Adds test coverage in `levels_test.cpp`
   
   - **Compaction strategy and rewriter**:
     - Adds `compact_rewriter.h` for compaction rewrite interface
     - Adds `compact_strategy.h` for compaction strategy definitions
     - Adds test coverage in `compact_strategy_test.cpp`
   
   - **Interval partition utilities**:
     - Adds `interval_partition.h` and `interval_partition.cpp` for 
interval-based partitioning
     - Adds test coverage in `interval_partition_test.cpp`
   
   - **Off-peak hours scheduling**:
     - Adds `off_peak_hours.h` for off-peak time window configuration
     - Adds test coverage in `off_peak_hours_test.cpp`
   
   ### Tests
   
   Test coverage included in this change:
   
   - `SortedRunTest`
   - `LevelsTest`
   - `CompactStrategyTest`
   - `IntervalPartitionTest`
   - `OffPeakHoursTest`
   
   ### API and Format
   
   No public API, storage format, or protocol changes.
   
   ### Documentation
   
   No documentation changes required.
   
   ### Generative AI tooling
   
   Migrate-by: Aone Copilot (Qwen-3.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]

Reply via email to