twuebi commented on code in PR #605:
URL: https://github.com/apache/iceberg-go/pull/605#discussion_r2546315224


##########
table/arrow_utils.go:
##########
@@ -616,6 +616,13 @@ func (c convertToArrow) VisitUUID() arrow.Field {
        return arrow.Field{Type: extensions.NewUUIDType()}
 }
 
+func (c convertToArrow) VisitUnknown() arrow.Field {
+       // UnknownType cannot be converted to Arrow as it has no concrete 
representation
+       panic("cannot convert UnknownType to Arrow schema")
+}

Review Comment:
   IIRC, that's what e.g. pyiceberg is doing for the unknown type, my 
understanding of it is it's a type that can be assigned at table creation when 
we already know we want a column but may not know its datatype yet?



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