kevinjqliu commented on issue #2068:
URL: https://github.com/apache/iceberg-rust/issues/2068#issuecomment-3824868126

   So the issue here seems to be a mismatch of the underlying db's schema. 
   V0 (without "record_type" column) is created by pyiceberg. But rust expects 
only V1 (with the "record_type"). 
   
   Seems like java solved this by doing a schema migration from V0 -> V1
   - https://github.com/apache/iceberg/issues/10046
   - https://github.com/apache/iceberg/pull/10111
   
   I think there are a couple things here
   * rust should allow reading V0 schema without evolution (for backwards 
compatibility) 
   * rust should be able to evolve schema from V0 -> V1 
   
   Let me know if this makes sense (@brodiealexander i typically like to have 
the discussion in the issue rather than the PR since its easier for others to 
follow) 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to