Hyukjin Kwon created SPARK-62294:
------------------------------------
Summary: Check the explain mode of a DataFrame of the Python
client before it connects, as PySpark does, so that its plan-construction test
needs no server
Key: SPARK-62294
URL: https://issues.apache.org/jira/browse/SPARK-62294
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
Since SPARK-62198, prepare_plan connects to the server of a DataFrame's session
before the explain mode of DataFrame.explain is checked, so an invalid mode on
an unreachable session retries until the budget of the retries ends, where
PySpark checks the mode first and raises at once. The Rust test
dataframe::plan_construction_tests::explain_string_takes_the_explain_modes_of_pyspark
therefore takes about 10 minutes (it connects to sc://localhost:15002, where
no server listens), in rust.yml too. Check the explain mode in PySpark's order,
before the client connects, so that an invalid mode fails as PySpark's does and
the test needs no server.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]