apache / apache/datafusion-ray

Add Spark-like scheduling mode with shuffle files between stages

Open
#69 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
230
Forks
29
PR merge metrics
No merged PRs in 30d

Description

DFRay currently creates "stage processors" for each stage in a query plan and eagerly executes queries. This is good for low-latency use cases but can require a large amount of memory.

I would like to have the option to execute using a Spark-like approach where the output of each query stage is streamed to shuffle files and then the next stage streams from that shuffle file via flight (this is the design implemented in Ballista).

I would also like to have a fixed number of "executors" so that concurrency can be controlled more easily.

This would be helpful to cases where users are migrating away from Spark and want a similar execution model.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.