Skip to content

Commit 5950bbc

Browse files
committed
chore: set compression for partition optimization as well
This is a good example of different routes for partitioned/non-partitioned tables gets us in trouble Signed-off-by: R. Tyler Croy <rtyler@brokenco.de>
1 parent 986b504 commit 5950bbc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/core/src/operations/write/writer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ impl PartitionWriterConfig {
325325
let writer_properties = writer_properties.unwrap_or_else(|| {
326326
WriterProperties::builder()
327327
.set_created_by(format!("delta-rs version {}", crate_version()))
328+
.set_compression(Compression::SNAPPY)
328329
.build()
329330
});
330331
let target_file_size = target_file_size.unwrap_or(DEFAULT_TARGET_FILE_SIZE);

0 commit comments

Comments
 (0)