GitHub user rxin opened a pull request:

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

    [SPARK-23907][SQL] Revert regr_* functions entirely

    ## What changes were proposed in this pull request?
    This patch reverts entirely all the regr_* functions added in SPARK-23907. 
These were added by @mgaido91 (and proposed by @gatorsmile) to improve 
compatibility with other database systems, without any actual use cases. 
However, they are very rarely used, and in Spark there are much better ways to 
compute these functions, due to Spark's flexibility in exposing real 
programming APIs.
    
    I'm going through all the APIs added in Spark 2.4 and I think we should 
revert these. If there are strong enough demands and more use cases, we can add 
them back in the future pretty easily.
    
    ## How was this patch tested?
    Reverted test cases also. 

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

    $ git pull https://github.com/rxin/spark SPARK-23907

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

    https://github.com/apache/spark/pull/22541.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 #22541
    
----
commit 623e35f118e3d28a49eb84365079d037fa519186
Author: Reynold Xin <rxin@...>
Date:   2018-09-24T21:30:43Z

    [SPARK-23907][SQL] Revert regr_* functions entirely

commit ef0f5b02dbce29d6fbaa6f79f9c2ad62e7a16bb0
Author: Reynold Xin <rxin@...>
Date:   2018-09-24T21:34:34Z

    i

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to