Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DataFusion's hash join implementation does not have spilling yet, so can easily OOM. This is even more likely in Ballista because each executor is processing multiple tasks in parallel.
For example, I cannot get the integration tests to pass (./dev/integration-test.sh) due to OOM, unless I disable hash joins.
Describe the solution you'd like
Personally, I think it would be better for Ballista to default to sort-merge join, and let the user override that if they want hash join. This would be the opposite of DataFusion's config, which enables hash join by default.
Describe alternatives you've considered
It would be nice if DataFusion had a spilling hash join implementation. I am working on one in Comet in apache/datafusion-comet#4184
Additional context
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DataFusion's hash join implementation does not have spilling yet, so can easily OOM. This is even more likely in Ballista because each executor is processing multiple tasks in parallel.
For example, I cannot get the integration tests to pass (
./dev/integration-test.sh) due to OOM, unless I disable hash joins.Describe the solution you'd like
Personally, I think it would be better for Ballista to default to sort-merge join, and let the user override that if they want hash join. This would be the opposite of DataFusion's config, which enables hash join by default.
Describe alternatives you've considered
It would be nice if DataFusion had a spilling hash join implementation. I am working on one in Comet in apache/datafusion-comet#4184
Additional context