kevinjqliu commented on code in PR #4121:
URL: https://github.com/apache/iceberg-python/pull/4121#discussion_r4367963545
##########
pyiceberg/io/pyarrow.py:
##########
@@ -3111,6 +3156,11 @@ def _determine_partitions(spec: PartitionSpec, schema:
Schema, arrow_table: pa.T
- Then we produce a set of partitions by filtering on each of the
combinations
- We combine the chunks to create a copy to avoid GIL congestion on the
original table
"""
+ # PyArrow has no group by, filter or take kernels for view types, so
replace them with their large counterparts
+ arrow_schema = visit_pyarrow(arrow_table.schema, _ConvertViewTypes())
Review Comment:
😠feels like we're constantly writing custom code to workaround pyarrow
--
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]