Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

planner: refine the infomation when execute desc format="dot" for core.Explain. #17141

Closed
LittleFall opened this issue May 12, 2020 · 0 comments · Fixed by #17144
Closed

planner: refine the infomation when execute desc format="dot" for core.Explain. #17141

LittleFall opened this issue May 12, 2020 · 0 comments · Fixed by #17144
Assignees
Labels
sig/planner SIG: Planner type/bug The issue is confirmed as a bug.

Comments

@LittleFall
Copy link
Contributor

1. What did you do?

desc select 1+1;
desc for connection 1; 
desc select 1+1;
desc format="dot" for connection 1;

2. What did you expect to see?

Output an empty graph, no error.

3. What did you see instead?

mysql> desc for connection 1;
Empty set (0.00 sec)

mysql> desc format="dot" for connection 1;
ERROR 1105 (HY000): interface conversion: *core.Explain is not core.PhysicalPlan: missing method Children

4. What version of TiDB are you using? (tidb-server -V or run select tidb_version(); on TiDB)

mysql> select tidb_version();
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()

          |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v4.0.0-beta.2-441-g36a29da52
Git Commit Hash: 36a29da529c4abc1f59958a465469aca8726e492
Git Branch: master
UTC Build Time: 2020-05-12 11:51:52
GoVersion: go1.14.1
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant