mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
* feat: impl show index and show columns * fix: show index from database * fix: canonicalize table name * refactor: show parsers
55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
show databases;
|
|
|
|
+-----------------------+
|
|
| Database |
|
|
+-----------------------+
|
|
| greptime_private |
|
|
| illegal-database |
|
|
| information_schema |
|
|
| public |
|
|
| upper_case_table_name |
|
|
+-----------------------+
|
|
|
|
use information_schema;
|
|
|
|
Affected Rows: 0
|
|
|
|
show tables;
|
|
|
|
+---------------------------------------+
|
|
| Tables |
|
|
+---------------------------------------+
|
|
| build_info |
|
|
| character_sets |
|
|
| check_constraints |
|
|
| collation_character_set_applicability |
|
|
| collations |
|
|
| column_privileges |
|
|
| column_statistics |
|
|
| columns |
|
|
| engines |
|
|
| events |
|
|
| files |
|
|
| global_status |
|
|
| greptime_region_peers |
|
|
| key_column_usage |
|
|
| optimizer_trace |
|
|
| parameters |
|
|
| partitions |
|
|
| profiling |
|
|
| referential_constraints |
|
|
| routines |
|
|
| runtime_metrics |
|
|
| schema_privileges |
|
|
| schemata |
|
|
| session_status |
|
|
| table_privileges |
|
|
| tables |
|
|
| triggers |
|
|
+---------------------------------------+
|
|
|
|
use public;
|
|
|
|
Affected Rows: 0
|
|
|