Shard pruning is performed twice for non-router plannable queries
Open
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
We do shard pruning to decide if a query is router plannable in early stage of the planning. If we decide that the query is not router plannable, we fall back to regular plannar and in the end we perform another shard pruning to decide the shards we need.
We should be able to use previously pruned shards without performing another pruning.
Contributor guide
Assessment
This issue has not been assessed yet.