pingcap/tidb

The heavy predicates may not need to be pushed down.

開放

#14,608 建立於 2020年2月3日

 (6 則留言) (0 個反應) (1 位負責人)Go (6,186 個分叉)batch import
help wantedsig/plannertype/enhancement

倉庫指標

星標
 (40,090 顆星)
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.

貢獻者指南