[
https://issues.apache.org/jira/browse/SPARK-51118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xinrong Meng updated SPARK-51118:
---------------------------------
Description:
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.
was:
The issue occurs in test_save_load_nested_estimator, when executing
cv.fit(dataset). The error shows when enabling Arrow optimization for Python
UDF: ValueError: 'tolist' is not in list.
Full stacktrace see
[https://github.com/xinrong-meng/spark/actions/runs/13167027085/job/36749584932]
> Use Arrow python UDF for ml
> ---------------------------
>
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]