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

    https://github.com/apache/spark/pull/10056#discussion_r46357421
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/Column.scala ---
    @@ -467,28 +467,55 @@ class Column(protected[sql] val expr: Expression) 
extends Logging {
       }
     
       /**
    +   * @group expr_ops
    +   * @deprecated As of 1.6.0, replaced by `isnan`. This will be removed in 
Spark 2.0.
    +   */
    +  @deprecated("Use isnan. This will be removed in Spark 2.0.", "1.6.0")
    +  def isNaN: Column = isnan
    +
    +  /**
        * True if the current expression is NaN.
        *
        * @group expr_ops
    -   * @since 1.5.0
    +   * @since 1.6.0
        */
    -  def isNaN: Column = withExpr { IsNaN(expr) }
    +  def isnan: Column = withExpr { IsNaN(expr) }
    +
    +  /**
    +   * @group expr_ops
    +   * @deprecated As of 1.6.0, replaced by `isnull`. This will be removed 
in Spark 2.0.
    +   */
    +  def isNull: Column = isnull
     
       /**
        * True if the current expression is null.
        *
        * @group expr_ops
    -   * @since 1.3.0
    +   * @since 1.6.0
        */
    -  def isNull: Column = withExpr { IsNull(expr) }
    +  def isnull: Column = withExpr { IsNull(expr) }
    --- End diff --
    
    I left isnull unchanged in my earlier pull request because I felt it was 
too commonly used, and decided not to change them.



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