wgtmac commented on code in PR #3526:
URL: https://github.com/apache/parquet-java/pull/3526#discussion_r3566070621
##########
parquet-common/src/main/java/org/apache/parquet/compression/CompressionCodecFactory.java:
##########
@@ -46,6 +46,30 @@ public interface CompressionCodecFactory {
*/
BytesInputCompressor getCompressor(CompressionCodecName codecName);
+ /**
+ * Returns a {@link BytesInputCompressor} instance for the specified codec
name and compression level.
+ * <p>
+ * The compression level controls the trade-off between compression speed
and ratio. The valid range
+ * and meaning of the level is codec-specific:
+ * <ul>
+ * <li>ZSTD: 1 (fastest) to 22 (best compression), default 3</li>
Review Comment:
The ZSTD range here is now broader because `validateZstdLevel` uses the zstd
library min/max levels. Please update this wording to avoid documenting `1-22`
only.
(reviewed by Codex)
--
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]