Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5630#discussion_r29310766
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala ---
    @@ -36,6 +36,8 @@ private[spark] object SQLConf {
       val PARQUET_INT96_AS_TIMESTAMP = "spark.sql.parquet.int96AsTimestamp"
       val PARQUET_CACHE_METADATA = "spark.sql.parquet.cacheMetadata"
       val PARQUET_COMPRESSION = "spark.sql.parquet.compression.codec"
    +  val PARQUET_BLOCK_SIZE = "spark.sql.parquet.blocksize"
    +  val PARQUET_PAGE_SIZE = "spark.sql.parquet.pagesize"
    --- End diff --
    
    @yhuai , I just confirmed, it still keep uncompressed parquet file even if 
we set the property like `SET parquet.compression=GZIP`.
    
    From the source code, 
https://github.com/chenghao-intel/spark/blob/parquet/sql/core/src/main/scala/org/apache/spark/sql/parquet/newParquet.scala#L636
    Settings in `SQLConf` are not append into the `Configuration`, that's why 
all of the settings doesn't take effect.


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