You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/10/11 16:53:00 UTC

[jira] [Assigned] (SPARK-40761) Migrate type check failures of percentile expressions onto error classes

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

Max Gekk reassigned SPARK-40761:
--------------------------------

    Assignee:     (was: Max Gekk)

> Migrate type check failures of percentile expressions onto error classes
> ------------------------------------------------------------------------
>
>                 Key: SPARK-40761
>                 URL: https://issues.apache.org/jira/browse/SPARK-40761
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Max Gekk
>            Priority: Major
>
> Replace TypeCheckFailure by DataTypeMismatch in type checks in the percentile expressions:
> 1. Percentile (4):
> https://github.com/apache/spark/blob/3f3201a7882b817a8a3ecbfeb369dde01e7689d8/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ApproximatePercentile.scala#L122-L129
> 2. PercentileBase (3):
> https://github.com/apache/spark/blob/8559f88f8ed9d22751975150a6d5735653a1e528/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/percentiles.scala#L87-L93



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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