Report distributed tasks in remote benchmarks#462
Open
gabotechs wants to merge 1 commit into
Open
Conversation
This was referenced May 23, 2026
071dcc0 to
b01c6fc
Compare
Base automatically changed from
gabrielmusat/factor-out-distributed-recursion
to
gabrielmusat/stage-metrics
May 26, 2026 13:21
f9f778f to
5711027
Compare
aedad16 to
af69055
Compare
5711027 to
3d31017
Compare
gabotechs
added a commit
that referenced
this pull request
May 26, 2026
… be the same (#427) This is one PR from the following stack of PRs: - #427 <- you are here - #469 - #461 - #462 - #463 - #464 - #432 This is a preparatory step towards: - #377 This is an optimization that allows workers to communicate in-memory avoiding network calls and serialization in case it needs to communicate to itself. This optimization shows good improvements if using a small number of workers, and fades away as more workers are used. Even if this shows improvements today, it will become very meaningful in adaptative query execution: there will be times when two consecutive stages are assigned 1 task each, and as that was done dynamically, we cannot eagerly do the optimization that collapses those two stages into one, so instead, we assigned both stages to the same worker, and the optimization in this PR kicks in, executing the plan fully locally.
af69055 to
72c7a9e
Compare
3d31017 to
68c26dc
Compare
gabotechs
added a commit
that referenced
this pull request
May 27, 2026
This is one PR from the following stack of PRs: - #427 - #469 <- you are here - #461 - #462 - #463 - #464 - #432 This PR factors out common recursion patterns used in the distributed planner into reusable helpers, reducing complexity in critical parts of the codebase. By centralizing recursion logic, we improve code maintainability and reduce the risk of subtle bugs in recursive tree traversals.
72c7a9e to
ff19d23
Compare
ff19d23 to
833a6b8
Compare
68c26dc to
14e2ff4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is one PR from the following stack of PRs:
This PR adds reporting of distributed task counts in remote benchmarks, providing visibility into how tasks are being distributed across workers during benchmark runs. This allows us to better understand the impact of the distributed planner and task distribution strategies on performance.