Hyukjin Kwon created SPARK-62229:
------------------------------------

             Summary: Make copy.copy of a StructType share its fields, names 
and their objects, as PySpark's shallow copy does
                 Key: SPARK-62229
                 URL: https://issues.apache.org/jira/browse/SPARK-62229
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: 5.0.0
            Reporter: Hyukjin Kwon


PySpark's copy.copy of a StructType is a shallow copy of its __dict__, so the 
copy shares its fields and names lists and their objects. The drop-in's copy 
makes new lists and objects. Share them as PySpark does.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to