GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/19494
[SPARK-22249][SQL] isin with empty list throws exception on cached DataFrame ## What changes were proposed in this pull request? As pointed out in the JIRA, there is a bug which causes an exception to be thrown if `isin` is called with an empty list on a cached DataFrame. The PR fixes it. ## How was this patch tested? Added UT. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mgaido91/spark SPARK-22249 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19494.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 #19494 ---- commit 549ff15f36adbaf8b00628afe9b1f522f5dbcb6d Author: Marco Gaido <marcogaid...@gmail.com> Date: 2017-10-13T15:53:29Z [SPARK-22249][SQL] isin with empty list throws exception on cached DataFrame ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org