You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2019/12/19 08:37:00 UTC
[jira] [Created] (SPARK-30303) Percentile will hit match err when
percentage is null
Kent Yao created SPARK-30303:
--------------------------------
Summary: 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
{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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org