Skip to content

Commit 0f77d35

Browse files
committed
chore
1 parent 732ad57 commit 0f77d35

File tree

2 files changed

+6
-4
lines changed
  • datafusion

2 files changed

+6
-4
lines changed

datafusion/core/tests/memory_limit/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ async fn test_spill_file_compressed_with_zstd() -> Result<()> {
679679
async fn test_spill_file_compressed_with_lz4_frame() -> Result<()> {
680680
let disk_spill_limit = 1024 * 1024; // 1MB
681681
let spill_compression = SpillCompression::Lz4Frame;
682-
let ctx = setup_context(disk_spill_limit, 128 * 1024, spill_compression).await?; // 1MB disk limit, 128KB memory limit, zstd
682+
let ctx = setup_context(disk_spill_limit, 128 * 1024, spill_compression).await?; // 1MB disk limit, 128KB memory limit, lz4_frame
683683

684684
let df = ctx
685685
.sql("select * from generate_series(1, 100000) as t1(v1) order by v1")

datafusion/physical-plan/src/spill/mod.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ use std::task::{Context, Poll};
3030

3131
use arrow::array::ArrayData;
3232
use arrow::datatypes::{Schema, SchemaRef};
33-
use arrow::ipc::writer::IpcWriteOptions;
34-
use arrow::ipc::MetadataVersion;
35-
use arrow::ipc::{reader::StreamReader, writer::StreamWriter};
33+
use arrow::ipc::{
34+
reader::StreamReader,
35+
writer::{IpcWriteOptions, StreamWriter},
36+
MetadataVersion,
37+
};
3638
use arrow::record_batch::RecordBatch;
3739

3840
use datafusion_common::config::SpillCompression;

0 commit comments

Comments
 (0)