viirya commented on a change in pull request #30162:
URL: https://github.com/apache/spark/pull/30162#discussion_r513835420
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1324,6 +1324,16 @@ object SQLConf {
.intConf
.createWithDefault(2)
+ val STATE_STORE_COMPRESSION_CODEC =
+ buildConf("spark.sql.streaming.stateStore.compression.codec")
+ .internal()
+ .doc("The codec used to compress delta and snapshot files generated by
StateStore. " +
+ "By default, Spark provides four codecs: lz4, lzf, snappy, and zstd.
You can also " +
+ "use fully qualified class names to specify the codec. Default codec
is lz4.")
Review comment:
For invalid codec name, `CompressionCodec.createCodec` will throw an
`IllegalArgumentException`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]