zeroshade opened a new pull request, #435:
URL: https://github.com/apache/iceberg-go/pull/435

   Turns out that the Java Iceberg implementation *requires* the Avro field 
names to match exactly instead of only relying on the field-ids/element-ids. 
   
   In this case, the issue is the Partition Field Summary element records. It 
appears that all "struct" types in iceberg java are expected to be named ["r" + 
fieldID](https://github.com/apache/iceberg/blob/a7f3dc79a2f42a4875ac35eec2137ecff15204fc/core/src/main/java/org/apache/iceberg/avro/TypeToSchema.java#L100-L105)
 and if you don't name it appropriately, Spark throws a very unhelpful 
exception (`ArrayStoreException`). 
   
   This was causing anything best on Java Iceberg to fail when reading Avro 
written by Iceberg-Go. 
   
   fixes #434
   


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