xxchan commented on PR #863:
URL: https://github.com/apache/iceberg-rust/pull/863#issuecomment-2629214547

   > But when constructing StructArray or RecordBatch, Arrow checks that the 
schema matches that of the data 
[(e.g.)](https://github.com/apache/arrow-rs/blob/0c07ec79cd4b28e7aa9d15d1d58b5c5adafb6855/arrow-array/src/record_batch.rs#L333).
 And they tend to not match because the schema has field ids and the data does 
not.
   
   A little confused about this point. What resulted them mismatching? IIUC if 
we use the correct schema to construct Array/RecordBatch, there should be no 
mismatch.


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to