GitHub user gatorsmile opened a pull request: https://github.com/apache/spark/pull/19724
[SPARK-22464][BACKPORT-2.2][SQL] No pushdown for Hive metastore partition predicates containing null-safe equality ## What changes were proposed in this pull request? `<=>` is not supported by Hive metastore partition predicate pushdown. We should not push down it to Hive metastore when they are be using in partition predicates. ## How was this patch tested? Added a test case You can merge this pull request into a Git repository by running: $ git pull https://github.com/gatorsmile/spark backportSPARK-22464 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19724.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 #19724 ---- commit ec7e4b8105af4e6c3741dd9af27e24faa7ebb395 Author: gatorsmile <gatorsm...@gmail.com> Date: 2017-11-07T20:57:43Z [SPARK-22464][SQL] No pushdown for Hive metastore partition predicates containing null-safe equality ## What changes were proposed in this pull request? `<=>` is not supported by Hive metastore partition predicate pushdown. We should not push down it to Hive metastore when they are be using in partition predicates. ## How was this patch tested? Added a test case Author: gatorsmile <gatorsm...@gmail.com> Closes #19682 from gatorsmile/fixLimitPushDown. # Conflicts: # sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveShim.scala # sql/hive/src/test/scala/org/apache/spark/sql/hive/client/HiveClientSuite.scala commit c629aaf4c98bb83b9b0d95e165abb85ed281ef9d Author: gatorsmile <gatorsm...@gmail.com> Date: 2017-11-11T19:41:15Z TEST ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org