| Bug #45350 | Support partition pruning for DAY() and MONTH() functions | ||
|---|---|---|---|
| Submitted: | 5 Jun 2009 13:04 | Modified: | 2 Dec 2009 13:47 |
| Reporter: | Alan Griffiths | Email Updates: | |
| Status: | Won't fix | Impact on me: | |
| Category: | MySQL Server: Partitions | Severity: | S4 (Feature request) |
| Version: | 6.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | partitioning, pruning | ||
[5 Jun 2009 13:04]
Alan Griffiths
[5 Jun 2009 13:52]
MySQL Verification Team
Thank you for the bug report.
[2 Dec 2009 13:47]
Mattias Jonsson
Since DAY() and MONTH() is cyclic it will not be implemented.
[5 Sep 2013 3:54]
Mattias Jonsson
To clarify the above statement: exact search "WHERE date_col = '2013-09-05'" will prune partitions, but a range search "WHERE date_col BETWEEN '2013-09-05' AND '2014-02-01'" will not prune.
