We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84868d commit a7bdfcaCopy full SHA for a7bdfca
1 file changed
pyiceberg/io/pyarrow.py
@@ -789,6 +789,10 @@ def visit_string(self, _: StringType) -> pa.DataType:
789
return pa.large_string()
790
791
def visit_uuid(self, _: UUIDType) -> pa.DataType:
792
+ # TODO: Change to uuid when PyArrow implements filtering for UUID types
793
+ # Using binary(16) instead of pa.uuid() because filtering is not
794
+ # implemented for UUID types in PyArrow
795
+ # (context: https://github.com/apache/iceberg-python/issues/2372)
796
return pa.binary(16)
797
798
def visit_unknown(self, _: UnknownType) -> pa.DataType:
0 commit comments