You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/10/07 10:50:20 UTC

[jira] [Resolved] (SPARK-16960) Deprecate approxCountDistinct, toDegrees and toRadians according to FunctionRegistry in Scala and Python

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

Sean Owen resolved SPARK-16960.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

Issue resolved by pull request 14538
[https://github.com/apache/spark/pull/14538]

> Deprecate approxCountDistinct, toDegrees and toRadians according to FunctionRegistry in Scala and Python
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16960
>                 URL: https://issues.apache.org/jira/browse/SPARK-16960
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Hyukjin Kwon
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> It seems {{approxCountDistinct}}, {{toDegrees}} and {{toRadians}} are also missed while matching the names to the ones in {{FunctionRegistry}}. (please see [approx_count_distinct|https://github.com/apache/spark/blob/5c2ae79bfcf448d8dc9217efafa1409997c739de/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L244], [degrees|https://github.com/apache/spark/blob/5c2ae79bfcf448d8dc9217efafa1409997c739de/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L203] and [radians|https://github.com/apache/spark/blob/5c2ae79bfcf448d8dc9217efafa1409997c739de/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L222] in `FunctionRegistry`).
> I took a scan between {{functions.scala}} and {{FunctionRegistry}} and it seems these are all left. For {{countDistinct}} and {{sumDistinct}}, they are not registered in {{FunctionRegistry}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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