Hyukjin Kwon created SPARK-62290:
------------------------------------

             Summary: Resolve the session of a DataFrame of the Python client 
at its request, as PySpark's does, rather than when a method builds its plan
                 Key: SPARK-62290
                 URL: https://issues.apache.org/jira/browse/SPARK-62290
             Project: Spark
          Issue Type: Bug
          Components: Connect
    Affects Versions: 5.0.0
            Reporter: Hyukjin Kwon


Since SPARK-62218, a DataFrame of the Python client keeps _session in its 
__dict__ as PySpark's does, but every DataFrame method resolves _session when 
it is called, also those that only build a plan. So an invalid _session raises 
at the method, where PySpark raises only at the request. Resolve the session at 
the request, as PySpark's 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