MCPcopy Create free account
hub / github.com/apache/paimon-rust / file_compression_zstd_level

Method file_compression_zstd_level

crates/paimon/src/spec/core_options.rs:359–364  ·  view source on GitHub ↗

Zstd compression level. Only meaningful when `file.compression` is `"zstd"`. Default is 1 (matching Paimon Java).

(&self)

Source from the content-addressed store, hash-verified

357 /// Zstd compression level. Only meaningful when `file.compression` is `"zstd"`.
358 /// Default is 1 (matching Paimon Java).
359 pub fn file_compression_zstd_level(&self) -> i32 {
360 self.options
361 .get(FILE_COMPRESSION_ZSTD_LEVEL_OPTION)
362 .and_then(|v| v.parse().ok())
363 .unwrap_or(1)
364 }
365
366 /// Parquet writer in-progress buffer size limit. Default is 256MB.
367 /// When the buffered data exceeds this, the writer flushes the current row group.

Callers 3

prepare_commitMethod · 0.80
newMethod · 0.80
newMethod · 0.80

Calls 2

parseMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected