laskoviymishka opened a new issue, #1003:
URL: https://github.com/apache/iceberg-go/issues/1003

   Parent: #589
   
   iceberg-go's iceberg-to-arrow converter wraps `UnknownType` in an Opaque 
extension type around `arrow.Null`. pyiceberg maps it to plain `pa.null()` 
instead. Mirror pyiceberg's posture so the cross-client wire format on Arrow 
records matches.
   
   Two pieces:
   
   1. Forward (iceberg → arrow): drop the `OpaqueType` wrapper in the 
`convertToArrow.VisitUnknown` visitor; emit plain `arrow.Null`.
   2. Reverse (arrow → iceberg): no case for `*arrow.NullType` in the 
`convertToIceberg` switch over Arrow types. Add it; map to 
`iceberg.PrimitiveTypes.Unknown`.
   
   Tests cover round-trip in both directions. Watch for any callers that depend 
on the Opaque wrapper's extension metadata; if they exist, this is a small 
breaking change worth calling out in the PR.


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