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

    https://github.com/apache/spark/pull/22350#discussion_r215598798
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala
 ---
    @@ -123,6 +123,9 @@ class ParquetFileFormat
         // Sets compression scheme
         conf.set(ParquetOutputFormat.COMPRESSION, 
parquetOptions.compressionCodecClassName)
     
    +    // Sets Parquet block size
    +    conf.setInt(ParquetOutputFormat.BLOCK_SIZE, 
sparkSession.sessionState.conf.parquetBlockSize)
    --- End diff --
    
    Yes, we are already able to set this via `parquet.block.size`, 
    I think we should add this parameter into  "sql-programming-guide.md"


---

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

Reply via email to