nicolasazrak commented on a change in pull request #34509:
URL: https://github.com/apache/spark/pull/34509#discussion_r764019438
##########
File path: python/pyspark/sql/pandas/serializers.py
##########
@@ -215,7 +215,10 @@ def _create_batch(self, series):
series = ((s, None) if not isinstance(s, (list, tuple)) else s for s
in series)
def create_array(s, t):
- mask = s.isnull()
+ if hasattr(s.values, "__arrow_array__"):
Review comment:
Looks really similar. I've added my tests to that branch and they
passed. (However, lot of other tests failed but probably for other reasons).
--
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]