[
https://issues.apache.org/jira/browse/SPARK-30303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuming Wang resolved SPARK-30303.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
> Percentile will hit match err when percentage is null
> -----------------------------------------------------
>
> Key: SPARK-30303
> URL: https://issues.apache.org/jira/browse/SPARK-30303
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Kent Yao
> Priority: Major
> Fix For: 3.0.0
>
>
> {code:java}
> spark-sql> select percentile(1, null);
> 19/12/19 16:35:04 ERROR SparkSQLDriver: Failed in [select percentile(1, null)]
> scala.MatchError: null
> spark-sql> select percentile(1, array(0.0, null)); -- null is illegal but
> treat as zero
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]