[ 
https://issues.apache.org/jira/browse/SPARK-62294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-62294.
----------------------------------
    Fix Version/s: connect-rust-4.4.0
       Resolution: Fixed

Issue resolved by pull request 960
[https://github.com/apache/spark-connect-rust/pull/960]

> Give the explain-mode test of the core the plan compression of a failed 
> lookup, so that it 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
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.4.0
>
>
> The Rust test 
> dataframe::plan_construction_tests::explain_string_takes_the_explain_modes_of_pyspark
>  takes about 10 minutes, in rust.yml too: its session points at 
> sc://localhost:15002, where no server listens, and the plan's to_proto looks 
> up the plan compression first, which retries until its budget ends. That 
> order is PySpark 4.3.0's: DataFrame._explain_string calls 
> self._plan.to_proto(client), whose _set_relation_in_plan runs get_configs for 
> the plan compression (swallowing its failure as threshold -1 and algorithm 
> NONE), before _analyze checks the explain mode and raises VALUE_NOT_ALLOWED. 
> So the client keeps that order, and the test sets the plan compression of a 
> failed lookup on its client, as a binding sets PySpark's 
> _plan_compression_threshold, so that it builds the plan of no request and 
> 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]

Reply via email to