kevinjqliu commented on issue #1037:
URL: 
https://github.com/apache/iceberg-python/issues/1037#issuecomment-2282826341

   I think generally the columns are strongly typed and won't allow a Union 
type. https://py.iceberg.apache.org/reference/pyiceberg/types/
   
   Here's the spec's description of data types; data type must be either 
primitives or nested types
   https://iceberg.apache.org/spec/#schemas-and-data-types
   
   It looks like for primitive types, there are `string` and `binary` types 
which can be the on-disk representation. You would need to cast in the query 
layer, like how you described above


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

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


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

Reply via email to