[MDEV-7856] EXPLAIN FORMAT=JSON should show partitions Created: 2015-03-27 Updated: 2015-04-09 Resolved: 2015-04-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | analyze-stmt, explain_json | ||
| Description |
|
EXPLAIN FORMAT=JSON (and ANALYZE FORMAT=JSON too) do not show used partitions.
EXPLAIN PARTITIONS shows:
EXPLAIN FORMAT=JSON doesn't show partitions:
For comparison, MySQL 5.6 shows:
|
| Comments |
| Comment by Sergei Petrunia [ 2015-03-27 ] |
|
This should be fixed in the same way as it is solved for "possible_keys". The idea of that solution is that we save enough data so that we don't rely on table being when we're printing the JSON output. |
| Comment by Oleksandr Byelkin [ 2015-04-08 ] |
|
revision-id: c081073446c943f043d4bd6fa7d8e7785dd1d74f
— |
| Comment by Sergei Petrunia [ 2015-04-08 ] |
|
Review feedback provided over email. This needs fixes. |
| Comment by Oleksandr Byelkin [ 2015-04-09 ] |
|
revision-id: 86a2a1f8675bcfa09a974dc63aed8f68866c07a8
— |