You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2025/03/24 02:12:00 UTC

[jira] [Resolved] (SPARK-51118) Use Arrow python UDF for ml internal code

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

Hyukjin Kwon resolved SPARK-51118.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 50341
[https://github.com/apache/spark/pull/50341]

> Use Arrow python UDF for ml internal code
> -----------------------------------------
>
>                 Key: SPARK-51118
>                 URL: https://issues.apache.org/jira/browse/SPARK-51118
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML, PySpark
>    Affects Versions: 4.0.0
>            Reporter: Xinrong Meng
>            Assignee: Takuya Ueshin
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
>  When enabling Arrow optimization for Python UDF, areas below error out with ValueError: 'tolist' is not in list.
> - CrossValidator Fit 
> The issue occurs in test_save_load_nested_estimator, when executing cv.fit(dataset). 
> Full stacktrace see [https://github.com/xinrong-meng/spark/actions/runs/13167027085/job/36749584932]
> - OneVsRestModel _transform
> Full stacktrace see [https://github.com/xinrong-meng/spark/actions/runs/13188569330/job/36819938746]
> - UnaryTransformer _transform
> Now Arrow optimization is disabled in those places explicitly, but we should enable those in the near future.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org