You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-52130][FOLLOW-UP][ML][CONNECT] Refine error message when model.summary is evicted
### What changes were proposed in this pull request?
Refine error message when model.summary is evicted.
In Spark Connect ML handler, `model.summary.XXX` invocation has different code path than `model.evaluate`, and it should raise readable error message when model.summary is evicted, otherwise the MLHandler will raise NullPointerException which is not friendly to end-users.
### Why are the changes needed?
Refine error message.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closesapache#51048 from WeichenXu123/improve-scml-summary-error.
Authored-by: Weichen Xu <weichen.xu@databricks.com>
Signed-off-by: Weichen Xu <weichen.xu@databricks.com>
0 commit comments