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

    https://github.com/apache/spark/pull/511#discussion_r11930738
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/parquet/ParquetQuerySuite.scala ---
    @@ -195,5 +196,27 @@ class ParquetQuerySuite extends QueryTest with 
FunSuite with BeforeAndAfterAll {
         Utils.deleteRecursively(ParquetTestData.testDir)
         ParquetTestData.writeFile()
       }
    +
    +  test("test filter by predicate pushdown") {
    +    for(myval <- Seq("myint", "mylong", "mydouble", "myfloat")) {
    +      println(s"testing field $myval")
    +      val result1 = sql(s"SELECT * FROM testfiltersource WHERE $myval < 
150 AND $myval >= 100").collect()
    --- End diff --
    
    It would be good to dive into the `queryExecution` here and somehow check 
that predicates are actually getting pushed down.


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

Reply via email to