Hyukjin Kwon created SPARK-61474:
------------------------------------
Summary: 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
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]