openinx edited a comment on issue #1578:
URL: https://github.com/apache/iceberg/issues/1578#issuecomment-706638771


   OK, got it, thanks for the explanation.  Let me think how to make this unit 
test work.
   
   == Update ==
   
   OK, I found that root cause that why the decoder read the record1 as `{ 
id=1, data = {List{Record{a=b},  Record{c=d}, Record{e=f}}}}`,  because I 
missed to register the `map` to `LogicalTypes`,  adding the following sentence 
works for me now.
   
   ```java
     static {
       LogicalTypes.register(LogicalMap.NAME, schema -> LogicalMap.get());
     }
   ```
   


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