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

    https://github.com/apache/spark/pull/20787#discussion_r175668391
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala
 ---
    @@ -1115,13 +1115,18 @@ case class AddMonths(startDate: Expression, 
numMonths: Expression)
     
       override def prettyName: String = "add_months"
     }
    -
     /**
    - * Returns number of months between dates date1 and date2.
    - */
    +   * Returns number of months between dates `date1` and `date2`. 
    +   * If `date1` is later than `date2`, then the result is positive.
    --- End diff --
    
    `date` -> `timestamp`


---

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

Reply via email to