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

   ### Purpose
   
   Linked issue: No linked issue
   
   This change adds simple statistics support under `src/paimon/core/stats`.
   
   Included changes:
   
   - Simple stats model:
     - Adds `SimpleStats` for field-level statistics including null count, min 
value, and max value.
     - Adds serialization, deserialization, equality, hash, and string 
conversion helpers.
   - Simple stats collection and conversion:
     - Adds `SimpleStatsCollector` for collecting statistics from Arrow arrays 
and Paimon rows.
     - Adds `SimpleStatsConverter` for converting between simple stats and 
column stats representations.
   - Simple stats schema evolution:
     - Adds `SimpleStatsEvolution` and `SimpleStatsEvolutions` helpers for 
adapting statistics across schema changes.
     - Supports field mapping, projected rows, and type casting for evolved 
statistics.
   - Test coverage:
     - Adds unit tests for simple stats, stats collection, and stats evolution 
behavior.
   
   ### Tests
   
   Not run.
   
   Test coverage included in this change:
   
   - `src/paimon/core/stats/simple_stats_test.cpp`
   - `src/paimon/core/stats/simple_stats_collector_test.cpp`
   - `src/paimon/core/stats/simple_stats_evolution_test.cpp`
   
   ### API and Format
   
   No public API, storage format, or protocol changes.
   
   This change adds internal core stats headers and implementations under 
`src/paimon/core/stats`.
   
   ### Documentation
   
   No documentation changes required.
   
   ### Generative AI tooling
   
   Migrate-by: Aone Copilot (GPT5.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]

Reply via email to