Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/19249#discussion_r139286221
--- Diff: python/pyspark/sql/types.py ---
@@ -619,7 +621,8 @@ def fromInternal(self, obj):
# it's already converted by pickler
return obj
if self._needSerializeAnyField:
- values = [f.fromInternal(v) for f, v in zip(self.fields, obj)]
+ values = [f.fromInternal(v) if n else v
--- End diff --
Let's describe this in more details and add some numbers (and in your other
PRs too).
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]