Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22395#discussion_r218055871
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala
 ---
    @@ -314,6 +314,34 @@ case class Divide(left: Expression, right: Expression) 
extends DivModLike {
       override def evalOperation(left: Any, right: Any): Any = div(left, right)
     }
     
    +// scalastyle:off line.size.limit
    +@ExpressionDescription(
    +  usage = "expr1 _FUNC_ expr2 - Divide `expr1` by `expr2` rounded to the 
long integer. It returns NULL if an operand is NULL or `expr2` is 0.",
    +  examples = """
    +    Examples:
    +      > SELECT 3 _FUNC_ 2;
    +       1
    +  """,
    +  since = "3.0.0")
    --- End diff --
    
    the next version will be 2.5.0 AFAIK.


---

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

Reply via email to