zzzzming95 commented on code in PR #37263:
URL: https://github.com/apache/spark/pull/37263#discussion_r930666210


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala:
##########
@@ -126,6 +127,15 @@ class ParquetFileFormat
     // Sets compression scheme
     conf.set(ParquetOutputFormat.COMPRESSION, 
parquetOptions.compressionCodecClassName)
 
+    // Sets Zstd level and Zstd workers, only effect when compression codec is 
`zstd`
+    conf.set(

Review Comment:
   @HyukjinKwon @dongjoon-hyun 
   
   In `ParquetOptions`, the `spark.sql.parquet.compression.codec` parameter 
also has a corresponding `parquet.compression` in parquet.
   
   For zstd level & zstd workers, maybe we can expose these parameters for 
different priority configuration?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to