QuakeWang opened a new pull request, #70:
URL: https://github.com/apache/paimon-mosaic/pull/70

   MosaicWriter builds `batch_col_map` from the initial Arrow schema, but 
`write_batch` previously only checked column count and non-nullable null 
counts. A later batch with the same number of same-typed columns but reordered 
field names could be accepted and written through the stale column map, 
silently storing values under the wrong column names.
   
   This patch validates each incoming batch against the writer schema before 
using `batch_col_map`: field name, logical type, and nullability must match. It 
also adds a regression test for the same-typed reordered-column 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