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

[plan] add show queries statement support #156

Merged
merged 1 commit into from Mar 18, 2021

Conversation

sundy-li
Copy link
Member

@sundy-li sundy-li commented Mar 18, 2021

Summary

mysql> CREATE TABLE t(c1 int) ENGINE = Null;
Query OK, 0 rows affected (0.01 sec)

mysql> show tables;
+------+
| name |
+------+
| t    |
+------+
1 row in set (0.02 sec)

mysql> use system
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

mysql> show tables;
+------------+
| name       |
+------------+
| clusters   |
| one        |
| functions  |
| numbers    |
| settings   |
| numbers_mt |
| tables     |
+------------+
7 rows in set (0.01 sec)

mysql> show settings;
+----------------+
| name           |
+----------------+
| max_block_size |
| max_threads    |
| default_db     |
+----------------+
3 rows in set (0.01 sec)

Changelog

  • New Feature

@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #156 (8f00a9d) into master (616a5df) will decrease coverage by 0%.
The diff coverage is 60%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #156   +/-   ##
=====================================
- Coverage      82%    82%   -1%     
=====================================
  Files         180    180           
  Lines        7416   7436   +20     
=====================================
+ Hits         6087   6099   +12     
- Misses       1329   1337    +8     
Impacted Files Coverage Δ
src/sql/plan_parser.rs 82% <0%> (-2%) ⬇️
src/sql/sql_parser.rs 73% <70%> (-1%) ⬇️
src/sql/sql_parser_test.rs 87% <100%> (+1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 616a5df...8f00a9d. Read the comment docs.

@BohuTANG
Copy link
Member

LGTM

@BohuTANG BohuTANG merged commit b63b43b into datafuselabs:master Mar 18, 2021
@sundy-li sundy-li mentioned this pull request Mar 19, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants