Skip to content

Commit bd8faf8

Browse files
author
wiedld
committed
test: update sort spill test to not parallelize sorts (due to scan repartitioning)
1 parent d9579bf commit bd8faf8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • datafusion/core/tests/memory_limit

datafusion/core/tests/memory_limit/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,9 @@ async fn test_stringview_external_sort() {
455455
.with_memory_pool(Arc::new(FairSpillPool::new(60 * 1024 * 1024)));
456456
let runtime = builder.build_arc().unwrap();
457457

458-
let config = SessionConfig::new().with_sort_spill_reservation_bytes(40 * 1024 * 1024);
458+
let config = SessionConfig::new()
459+
.with_sort_spill_reservation_bytes(40 * 1024 * 1024)
460+
.with_repartition_file_scans(false);
459461

460462
let ctx = SessionContext::new_with_config_rt(config, runtime);
461463
ctx.register_table("t", Arc::new(table)).unwrap();

0 commit comments

Comments
 (0)