spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kent Yao (Jira)" <j...@apache.org>
Subject [jira] [Created] (SPARK-30303) Percentile will hit match err when percentage is null
Date Thu, 19 Dec 2019 08:37:00 GMT
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


Mime
View raw message