You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by viirya <gi...@git.apache.org> on 2016/06/02 14:09:39 UTC

[GitHub] spark issue #13371: [SPARK-15639][SQL] Try to push down filter at RowGroups ...

Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/13371
  
    @yhuai I've run a simple benchmark as following:
    
        test("Benchmark for Parquet") {
          val N = 1 << 20
    
          val benchmark = new Benchmark("Parquet reader", N)
          benchmark.addCase("reading Parquet file", 1) { iter =>
            withParquetTable((0 until N).map(i => (101, i)), "t") {
              sql("SELECT _1 FROM t where t._1 < 100").show()
            }
          }
          benchmark.run()
        }
    
    Before this patch:
    
        Parquet reader:                          Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
        ------------------------------------------------------------------------------------------------
        reading Parquet file                        34225 / 34225          0.0       32639.5       1.0X
    
    After this patch:
    
        Parquet reader:                          Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
        ------------------------------------------------------------------------------------------------
        reading Parquet file                        31350 / 31350          0.0       29897.6       1.0X
    



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

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