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

    https://github.com/apache/spark/pull/6725#discussion_r32073108
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -1299,6 +1299,70 @@ object functions {
        */
       def toRadians(columnName: String): Column = toRadians(Column(columnName))
     
    +  /**
    +   * Returns the first argument-base logarithm of the second argument.
    +   *
    +   * @group math_funcs
    +   * @since 1.4.0
    +   */
    +  def logarithm(l: Column, r: Column): Column = Logarithm(l.expr, r.expr)
    --- End diff --
    
    let's name the 1st argument as "base", and the second as "a".
    
    and also only keep the following 2 versions:
    
    log(base: Double, a: Column)
    
    log(base: Double, a: String)



---
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