Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21054#discussion_r187751801
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -775,6 +775,178 @@ object functions {
        */
       def var_pop(columnName: String): Column = var_pop(Column(columnName))
     
    +  /**
    +   * Aggregate function: returns the number of non-null pairs.
    +   *
    +   * @group agg_funcs
    +   * @since 2.4.0
    +   */
    +  def regr_count(y: Column, x: Column): Column = withAggregateFunction {
    --- End diff --
    
    do we need all of these? seems like users can just invoke expr to do them. 
this file is getting very long.



---

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

Reply via email to