GitHub user HyukjinKwon opened a pull request:

    https://github.com/apache/spark/pull/17827

    [SPARK-20552][SQL][PYTHON] Add isNotDistinctFrom/isDistinctFrom for column 
APIs in Scala and Python

    ## What changes were proposed in this pull request?
    
    This PR proposes to add both `isNotDistinctFrom` and `isDistinctFrom` to 
both Scala and Python column APIs.
    
    `IS [NOT] DISTINCT FROM` syntax is now supported in favour of 
https://github.com/apache/spark/pull/17764
    
    Adding Python API was initially suggested in that PR but that PR turned to 
SQL syntax only change. Per 
https://github.com/apache/spark/pull/17764#discussion_r114048387 I assume we 
want this.
    
    ## How was this patch tested?
    
    Doctests for Python and unit tests in `ColumnExpressionSuite`.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HyukjinKwon/spark SPARK-20552

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/17827.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17827
    
----
commit 008cec4ed1a45c299bec4a6ce6114e5871c0398c
Author: hyukjinkwon <gurwls...@gmail.com>
Date:   2017-05-02T03:28:04Z

    Add isNotDistinctFrom/isDistinctFrom for column APIs in Scala/Java and 
Python

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to