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

   ## Summary
   
   Fix Format Table writes when a partition column is not the first field in 
the table schema. The writer previously combined full-schema column indices 
with partition-only field metadata, which could panic with an out-of-bounds 
access.
   
   ## Changes
   
   - use full table schema metadata when extracting partition values from Arrow 
batches
   - add a REST catalog regression test with the partition column at the end of 
the schema
   - keep the change internal; there is no public API change
   
   ## Testing
   
   - `cargo test -p paimon-datafusion --test rest_format_table_dml`
   - `cargo clippy -p paimon-datafusion --test rest_format_table_dml -- -D 
warnings`
   - `cargo fmt --all -- --check`


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