[
https://issues.apache.org/jira/browse/SPARK-61474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-61474.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 526
[https://github.com/apache/spark-connect-rust/pull/526]
> Raise PySpark's errors for the seeds of randomSplit, sample and sampleBy that
> PySpark cannot send
> -------------------------------------------------------------------------------------------------
>
> Key: SPARK-61474
> URL: https://issues.apache.org/jira/browse/SPARK-61474
> 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
>
>
> Follow-up of SPARK-61396. A seed of randomSplit or sample beyond a long
> raises OverflowError, where PySpark raises ValueError Value out of range.
> sampleBy takes a NumPy int and a bool seed and raises TypeError for a float
> or str seed, where PySpark raises AssertionError for a seed that is not an
> int, the TypeError of protobuf for a bool and ValueError for a seed beyond a
> long.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]