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: [email protected]
For additional commands, e-mail: [email protected]