JingsongLi opened a new pull request, #952:
URL: https://github.com/apache/paimon-rust/pull/952

   ## Summary
   
   - Add native Mosaic data-file writes for ordinary append and primary-key 
Paimon tables, including input changelog files.
   - Match Java Paimon Mosaic writer options and type validation: Zstd only, 
bucket count, block size, statistics columns, and unsupported Paimon types.
   - Write selected Mosaic statistics into manifest value stats, preserving 
column order and null counts for file pruning.
   - Document Mosaic table writes and add end-to-end coverage for append, 
primary-key, partitioned, changelog, rolling, file-index, pruning, temporal, 
scalar, and collection cases.
   
   ## Java parity
   
   Compared with `MosaicFileFormat`, `MosaicWriterFactory`, 
`MosaicRecordsWriter`, and `MosaicSimpleStatsExtractor`. In particular, the 
Rust writer rejects `ROW`, `MULTISET`, `VECTOR`, `VARIANT`, and `BLOB`; handles 
timestamp(0) with Mosaic millisecond storage; and applies the same writer 
options and selected statistics semantics.
   
   ## Tests
   
   - `cargo test -p paimon --lib mosaic_write::tests -- --nocapture` (12 passed)
   - `cargo test -p paimon --lib mosaic_table_write_tests -- --nocapture` (16 
passed)
   - `cargo fmt --all -- --check`
   - `cargo clippy -p paimon --all-targets -- -D warnings`
   


-- 
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