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

   ### Purpose
   
   Closes #1511.
   
   A list written with a `$data$` child should be readable through a projection 
that names the child `element`. Rewrapping a physical array with a new batch 
schema alone leaves the nested Arrow type mismatched.
   
   ### Brief change log
   
   - Resolve projected top-level columns by name and rebuild compatible nested 
Arrow array metadata while reusing the buffers.
   - Apply the same alignment when collecting row ranges. Match map entries by 
position and validate named struct fields.
   
   ### Tests
   
   Added cases for list offsets, child and parent nulls, disjoint selections, 
and the distinction between map entries and ordinary struct fields.
   
   Local verification passed with `cargo build --locked -p paimon --lib` and 
`cargo fmt --all -- --check`. Test execution is left to upstream CI.
   
   ### API and Format
   
   The change affects Mosaic read projections. It uses the existing reader API 
and physical encoding.
   
   ### Documentation
   
   The existing projection API covers this case.
   


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