rzhang10 opened a new pull request #2352:
URL: https://github.com/apache/iceberg/pull/2352


   In our production, we encounter a table with an empty struct in its schema 
(the table is ORC format but I think both iceberg and ORC somehow doesn't 
forbid the creation of table/schema with empty struct), and when we try to read 
this table, iceberg internally throws away the empty struct in the expected 
schema, thus the read builder doesn't build the correct number of readers 
(basically it lacks the reader for the empty struct field).
   
   This fix is to let iceberg not throw away the empty struct field, making it 
able to read tables with such corner case schemas.


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

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