pingcap/tidb

The heavy predicates may not need to be pushed down.

Open

#14.608 aperta il 3 feb 2020

Vedi su GitHub
 (6 commenti) (0 reazioni) (1 assegnatario)Go (6186 fork)batch import
help wantedsig/plannertype/enhancement

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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.

Guida contributor