GitHub user HyukjinKwon opened a pull request:

    https://github.com/apache/spark/pull/14538

    [SPARK-16588][SQL][FOLLOWUP] Rename approxCountDistinct, toDegrees and 
toRadians according to FunctionRegistry as well.

    ## What changes were proposed in this pull request?
    
    It seems `approxCountDistinct`, `toDegrees` and `toRadians` are also missed 
while matching the names to the ones 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 PR deprecates `approxCountDistinct`, `toDegrees` and `toRadians` and 
introduces `approx_count_distinct`, `degrees` and `radians`.
    
    
    ## How was this patch tested?
    
    Existing tests should cover this.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HyukjinKwon/spark SPARK-16588-followup

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/14538.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14538
    
----
commit 230db759f28645fd3991b49a5cb503ba3286985f
Author: hyukjinkwon <[email protected]>
Date:   2016-08-08T10:57:18Z

    Rename approx_count_distinct, degrees and radians

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to