ClickHouse / ClickHouse/ClickHouse
Automatically set make_distributed_plan=1 when distributed_plan_workers_num != 0
- Dominant language
- C++
- Stars
- 49.9k
- Forks
- 9k
- Avg merge
- 21h 32m
- Merged PRs (30d)
- 515
Description
### Company or project name
_No response_
### Use case
For convenience, so we don't have to specify both. Previous improvement: https://github.com/ClickHouse/ClickHouse/pull/112463.
### Describe the solution you'd like
Automatically set make_distributed_plan=1 when distributed_plan_workers_num != 0
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Read the previous improvement in PR #112463 and locate the settings handling for make_distributed_plan and distributed_plan_workers_num. Check how the settings interact, then implement the requested automatic behavior and run the relevant tests for distributed query planning. Done means a nonzero distributed_plan_workers_num enables make_distributed_plan without requiring both settings to be specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100