Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions datafusion_ray/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,10 @@ def __init__(
processor_pool_max: int = 100,
) -> None:
self.ctx = DFRayContextInternal()
self.batch_size = batch_size
self.partitions_per_processor = partitions_per_processor
self.prefetch_buffer_size = prefetch_buffer_size
self.set("datafusion.ray.execution.batch_size",f"{batch_size}")
self.set("datafusion.ray.execution.partitions_per_processor",f"{partitions_per_processor}")
self.set("datafusion.ray.execution.prefetch_buffer_size",f"{prefetch_buffer_size}")
self.set("datafusion.ray.execution.processor_pool_min",f"{processor_pool_min}")

self.supervisor = DFRayContextSupervisor.options(
name="RayContextSupersisor",
Expand Down