You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "laskoviymishka (via GitHub)" <gi...@apache.org> on 2026/05/05 19:17:30 UTC

[I] feat(arrow): map UnknownType to plain Arrow null and back [iceberg-go]

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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] feat(arrow): map UnknownType to plain Arrow null and back [iceberg-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #1003: feat(arrow): map UnknownType to plain Arrow null and back
URL: https://github.com/apache/iceberg-go/issues/1003


-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org