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

Hyukjin Kwon resolved SPARK-61238.
----------------------------------
    Resolution: Fixed

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

> Fitted pyspark.ml.connect scalers and indexers fail on transform, and the ML 
> cache queries are missing
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-61238
>                 URL: https://issues.apache.org/jira/browse/SPARK-61238
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: connect-rust-4.3.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.3.0
>
>
> pyspark.ml.connect StandardScaler, MaxAbsScaler and StringIndexer fit 
> locally, so their transform sends a transformer of type MODEL, which the 
> server rejects: `StandardScaler(inputCol="v", 
> outputCol="o").fit(df).transform(df)` raises java.lang.AssertionError in 
> MLHandler._transformMLRelation. The fit now runs on the server and the 
> transform refers to the cached model, as PySpark does. The client also lacks 
> _get_ml_cache_info and _query_model_size, which the official ml/tests/connect 
> cache and model offloading tests call.



--
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