[MDEV-29179] Condition pushdown from HAVING into WHERE is not shown in optimizer trace Created: 2022-07-27 Updated: 2023-03-15 Resolved: 2023-03-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 11.1.0, 10.11.3, 11.0.2, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleg Smirnov | Assignee: | Rex Johnston |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | optimizer_trace | ||
| Issue Links: |
|
||||||||
| Description |
|
Condition pushdown from HAVING into WHERE puts "t1.a <=7" into the WHERE:
But this is not visible in the optimizer trace. Observed on 10.5 but probably affects other versions as well. |
| Comments |
| Comment by Rex Johnston [ 2023-02-03 ] |
|
Hi Sergei, I needed to make some alterations to Json_writer. Please review. Thanks, Rex |
| Comment by Sergei Petrunia [ 2023-02-14 ] |
|
Review input provided in the pull request. Need to discuss. |
| Comment by Sergei Petrunia [ 2023-02-22 ] |
|
Ok to push the last patch |