Fokko commented on code in PR #4358:
URL: https://github.com/apache/iceberg-python/pull/4358#discussion_r4740618559


##########
pyiceberg/table/inspect.py:
##########
@@ -39,7 +40,36 @@
 
 
 def _readable_bound(field_type: PrimitiveType, bound: bytes | None) -> Any | 
None:
-    return from_bytes(field_type, bound) if bound is not None else None
+    return _storage_value(from_bytes(field_type, bound)) if bound is not None 
else None
+
+
+def _storage_type(data_type: pa.DataType) -> pa.DataType:

Review Comment:
   I'm pretty sure that we want to convert this into a visitor: 
https://github.com/apache/iceberg-python/blob/7f4391bda2da5b15ff53bb768c4ccb3e029b0f5a/pyiceberg/io/pyarrow.py#L1418



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