spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-30266) Int overflow and MatchError in ApproximatePercentile
Date Wed, 25 Dec 2019 12:06:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-30266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wenchen Fan resolved SPARK-30266.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 26905
[https://github.com/apache/spark/pull/26905]

> Int overflow and MatchError in ApproximatePercentile 
> -----------------------------------------------------
>
>                 Key: SPARK-30266
>                 URL: https://issues.apache.org/jira/browse/SPARK-30266
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.4, 3.0.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Major
>             Fix For: 3.0.0
>
>
> accuracyExpression can accept Long which may cause overflow error.
> accuracyExpression can accept fractions which are implicitly floored.
> accuracyExpression can accept null which is implicitly changed to 0.
> percentageExpression can accept null but cause MatchError.
> percentageExpression can accept ArrayType(_, nullable=true) in which the nulls are implicitly
changed to zeros.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message