Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19249#discussion_r139305834
  
    --- 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 --
    
    Thanks for testing this out. Let's add a comment here to explain what we 
are doing and move the worst case benchmark into the PR description.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to