Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join spilling support in mixed execution mode #8998

Open
xiaoxmeng opened this issue Mar 7, 2024 · 0 comments
Open

Join spilling support in mixed execution mode #8998

xiaoxmeng opened this issue Mar 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@xiaoxmeng
Copy link
Contributor

Description

Spilling is now controlled by spill config regardless of velox task execution mode. The current join spilling implementation has limitation in mixed execution mode in which build side is in un-grouped execution mode while probe side is in grouped execution mode. We don't keep the spilled partitions across different group executions at the probe side. For now, we need to disable spilling if the task is under the grouped execution. We might consider to add to support later on to keep the spilled partition info of the build side around.

cc @mbasmanova @spershin @duanmeng @tanjialiang @Bikram

@xiaoxmeng xiaoxmeng added the enhancement New feature or request label Mar 7, 2024
xiaoxmeng added a commit to xiaoxmeng/velox that referenced this issue Mar 7, 2024
The current hash join spilling implementation can't handle mixed execution mode,
see (facebookincubator#8998) for details. For now,
we disable the join spilling under mixed execution mode. We add method in task to
tell if a task is under mixed execution mode: task is group executed and has one
ungrouped split. The hash build then disables the spilling if the task is under mixed
execution mode.
xiaoxmeng added a commit to xiaoxmeng/velox that referenced this issue Mar 7, 2024
The current hash join spilling implementation can't handle mixed execution mode,
see (facebookincubator#8998) for details. For now,
we disable the join spilling under mixed execution mode. We add method in task to
tell if a task is under mixed execution mode: task is group executed and has one
ungrouped split. The hash build then disables the spilling if the task is under mixed
execution mode.
xiaoxmeng added a commit to xiaoxmeng/velox that referenced this issue Mar 8, 2024
The current hash join spilling implementation can't handle mixed execution mode,
see (facebookincubator#8998) for details. For now,
we disable the join spilling under mixed execution mode. We add method in task to
tell if a task is under mixed execution mode: task is group executed and has one
ungrouped split. The hash build then disables the spilling if the task is under mixed
execution mode.
xiaoxmeng added a commit to xiaoxmeng/velox that referenced this issue Mar 8, 2024
The current hash join spilling implementation can't handle mixed execution mode,
see (facebookincubator#8998) for details. For now,
we disable the join spilling under mixed execution mode. We add method in task to
tell if a task is under mixed execution mode: task is group executed and has one
ungrouped split. The hash build then disables the spilling if the task is under mixed
execution mode.
xiaoxmeng added a commit to xiaoxmeng/velox that referenced this issue Mar 8, 2024
The current hash join spilling implementation can't handle mixed execution mode,
see (facebookincubator#8998) for details. For now,
we disable the join spilling under mixed execution mode. We add method in task to
tell if a task is under mixed execution mode: task is group executed and has one
ungrouped split. The hash build then disables the spilling if the task is under mixed
execution mode.
facebook-github-bot pushed a commit that referenced this issue Mar 8, 2024
Summary:
The current hash join spilling implementation can't handle mixed execution mode,
see (#8998) for details. For now,
we disable the join spilling under mixed execution mode. We add method in task to
tell if a task is under mixed execution mode: task is group executed and has one
ungrouped split. The hash build then disables the spilling if the task is under mixed
execution mode.

Pull Request resolved: #9001

Reviewed By: mbasmanova

Differential Revision: D54649972

Pulled By: xiaoxmeng

fbshipit-source-id: 4c4ad851f441df11b412e226794c8ed3a061bed4
Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this issue Jun 7, 2024
…#9001)

Summary:
The current hash join spilling implementation can't handle mixed execution mode,
see (facebookincubator#8998) for details. For now,
we disable the join spilling under mixed execution mode. We add method in task to
tell if a task is under mixed execution mode: task is group executed and has one
ungrouped split. The hash build then disables the spilling if the task is under mixed
execution mode.

Pull Request resolved: facebookincubator#9001

Reviewed By: mbasmanova

Differential Revision: D54649972

Pulled By: xiaoxmeng

fbshipit-source-id: 4c4ad851f441df11b412e226794c8ed3a061bed4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant