help wantedsig/plannertype/enhancement
説明
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.