pingcap/tidb
Ver no GitHubThe heavy predicates may not need to be pushed down.
Open
#14.608 aberto em 3 de fev. de 2020
help wantedsig/plannertype/enhancement
Métricas do repositório
- Stars
- (40.090 stars)
- Métricas de merge de PR
- (Mesclagem média 14d 4h) (346 fundiu PRs em 30d)
Description
For example, a big CASE...WHEN... clause may consume a lot of resources. In this case, push it down to table side may be worse than not pushing it.
We should control its behavior by
- A hint to disable all predicates of one WHERE clause.
- A cost-based or a heuristic method to control the predicates automatically.