syun64 commented on issue #348:
URL: https://github.com/apache/iceberg-python/issues/348#issuecomment-1921881237

   @Fokko I'm realizing that there's a two different layers to this edge case:
   
   1. Handling of Null only columns
   2. Support for writing empty tables / dataframes that behaves consistently 
with Spark
   
   I'm resolving (1) by just avoiding serialization in [min_as_bytes if 
self.current_min is 
None](https://github.com/apache/iceberg-python/blob/29db67fef819f2df0b30ea7decb10537f5a22eef/pyiceberg/io/pyarrow.py#L1343C21-L1343C30).
   
   I'm just trying to see if we can resolve (2) and group that into the same PR.


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