Mattias Jonsson

Results 33 comments of Mattias Jonsson

More info in this PR: https://github.com/pingcap/tidb/pull/35298. If the optimisation is limited to non-indexed single value LIST partition (possibly single value RANGE partition) it would work without any side effects. Would...

The pruning happens fairly early in the optimizer process and if it removes that specific filter condition, it may affect the cost/possibility of using tikv and a possible index in...

Yes, we can implement this filter/condition removal, when the following conditions match: - the condition is completely covered by the partition definition (like LIST partition with a single value) and...

This is based on https://github.com/pingcap/tidb/pull/35662 and should be reviewed as an extension on-top of that PR.