pingcap/tidb

The heavy predicates may not need to be pushed down.

Open

#14,608 创建于 2020年2月3日

在 GitHub 查看
 (6 评论) (0 反应) (1 负责人)Go (6,186 fork)batch import
help wantedsig/plannertype/enhancement

仓库指标

Star
 (40,090 star)
PR 合并指标
 (平均合并 14天 4小时) (30 天内合并 346 个 PR)

描述

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.

贡献者指南