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

[jira] [Assigned] (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 ]

Apache Spark reassigned SPARK-16960:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            Priority: Minor
>
> 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