[
https://issues.apache.org/jira/browse/SPARK-61394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-61394.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 484
[https://github.com/apache/spark-connect-rust/pull/484]
> Reject a bool or out-of-range thresh in dropna as PySpark does, and name
> VariantVal in the error of a pivot value
> -----------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61394
> URL: https://issues.apache.org/jira/browse/SPARK-61394
> 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
>
>
> A follow-up of SPARK-61320, found in a post-merge review.
> df.dropna(thresh=True) is accepted as thresh=1, where PySpark raises
> TypeError, and thresh=2**40 raises OverflowError, where PySpark raises
> ValueError (Value out of range). The Rust API's pivot error names a Variant
> value 'Variant', not PySpark's 'VariantVal', and a decimal pivot value with
> an exponent of i32::MIN overflows.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]