Hyukjin Kwon created SPARK-62306:
------------------------------------

             Summary: Build the relation of a DataFrame of a member of an ML 
summary, model or helper of the Python client at its request, as PySpark does, 
rather than when the member is read
                 Key: SPARK-62306
                 URL: https://issues.apache.org/jira/browse/SPARK-62306
             Project: Spark
          Issue Type: Bug
          Components: Connect
    Affects Versions: 5.0.0
            Reporter: Hyukjin Kwon


The DataFrames of the members of an ML summary, model or helper of the Python 
client, such as summary.predictions, summary.roc or ChiSquareTest.test, build 
the relation of their dataset when the member is read (attribute_relation), so 
they pickle its UDF functions then: a member of a summary whose training 
DataFrame holds a UDF function that cannot be pickled raises PicklingError at 
the read of the member, where PySpark returns the DataFrame and raises at its 
first request (for example, job.p = summary.predictions raises, then .count() 
would). Build the relation at the request, 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