fix: show table names not complete from information_schema (#3417)

This commit is contained in:
dennis zhuang
2024-03-01 10:51:46 +08:00
committed by GitHub
parent 3cad9d989d
commit c1a370649e
3 changed files with 303 additions and 279 deletions

View File

@@ -17,7 +17,9 @@ use std::collections::BTreeSet;
use std::sync::{Arc, Weak};
use async_stream::try_stream;
use common_catalog::consts::{DEFAULT_SCHEMA_NAME, INFORMATION_SCHEMA_NAME, NUMBERS_TABLE_ID};
use common_catalog::consts::{
DEFAULT_CATALOG_NAME, DEFAULT_SCHEMA_NAME, INFORMATION_SCHEMA_NAME, NUMBERS_TABLE_ID,
};
use common_error::ext::BoxedError;
use common_meta::cache_invalidator::{CacheInvalidator, CacheInvalidatorRef, Context};
use common_meta::error::Result as MetaResult;
@@ -97,8 +99,7 @@ impl KvBackendCatalogManager {
catalog_manager: me.clone(),
catalog_cache: Cache::new(DEFAULT_CACHED_CATALOG),
information_schema_provider: Arc::new(InformationSchemaProvider::new(
// The catalog name is not used in system_catalog, so let it empty
String::default(),
DEFAULT_CATALOG_NAME.to_string(),
me.clone(),
)),
},

View File

@@ -20,6 +20,7 @@ show tables;
+---------------------------------------+
| Tables |
+---------------------------------------+
| build_info |
| character_sets |
| check_constraints |
| collation_character_set_applicability |
@@ -31,6 +32,7 @@ show tables;
| events |
| files |
| global_status |
| greptime_region_peers |
| key_column_usage |
| optimizer_trace |
| parameters |
@@ -38,6 +40,7 @@ show tables;
| profiling |
| referential_constraints |
| routines |
| runtime_metrics |
| schema_privileges |
| schemata |
| session_status |

View File

@@ -12,6 +12,7 @@ order by table_schema, table_name;
+---------------+--------------------+---------------------------------------+-----------------+----------+-------------+
| table_catalog | table_schema | table_name | table_type | table_id | engine |
+---------------+--------------------+---------------------------------------+-----------------+----------+-------------+
| greptime | information_schema | build_info | LOCAL TEMPORARY | 8 | |
| greptime | information_schema | character_sets | LOCAL TEMPORARY | 9 | |
| greptime | information_schema | check_constraints | LOCAL TEMPORARY | 12 | |
| greptime | information_schema | collation_character_set_applicability | LOCAL TEMPORARY | 11 | |
@@ -23,6 +24,7 @@ order by table_schema, table_name;
| greptime | information_schema | events | LOCAL TEMPORARY | 13 | |
| greptime | information_schema | files | LOCAL TEMPORARY | 14 | |
| greptime | information_schema | global_status | LOCAL TEMPORARY | 25 | |
| greptime | information_schema | greptime_region_peers | LOCAL TEMPORARY | 29 | |
| greptime | information_schema | key_column_usage | LOCAL TEMPORARY | 16 | |
| greptime | information_schema | optimizer_trace | LOCAL TEMPORARY | 17 | |
| greptime | information_schema | parameters | LOCAL TEMPORARY | 18 | |
@@ -30,6 +32,7 @@ order by table_schema, table_name;
| greptime | information_schema | profiling | LOCAL TEMPORARY | 19 | |
| greptime | information_schema | referential_constraints | LOCAL TEMPORARY | 20 | |
| greptime | information_schema | routines | LOCAL TEMPORARY | 21 | |
| greptime | information_schema | runtime_metrics | LOCAL TEMPORARY | 27 | |
| greptime | information_schema | schema_privileges | LOCAL TEMPORARY | 22 | |
| greptime | information_schema | schemata | LOCAL TEMPORARY | 15 | |
| greptime | information_schema | session_status | LOCAL TEMPORARY | 26 | |
@@ -41,282 +44,299 @@ order by table_schema, table_name;
select * from information_schema.columns order by table_schema, table_name, column_name;
+---------------+--------------------+---------------------------------------+-----------------------------------+-----------+---------------+----------------+-------------+-------------+----------------+
| table_catalog | table_schema | table_name | column_name | data_type | semantic_type | column_default | is_nullable | column_type | column_comment |
+---------------+--------------------+---------------------------------------+-----------------------------------+-----------+---------------+----------------+-------------+-------------+----------------+
| greptime | information_schema | character_sets | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | character_sets | default_collate_name | String | FIELD | | No | String | |
| greptime | information_schema | character_sets | description | String | FIELD | | No | String | |
| greptime | information_schema | character_sets | maxlen | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | check_constraints | check_clause | String | FIELD | | No | String | |
| greptime | information_schema | check_constraints | constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | check_constraints | constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | check_constraints | constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | collation_character_set_applicability | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | collation_character_set_applicability | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | collations | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | collations | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | collations | id | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | collations | is_compiled | String | FIELD | | No | String | |
| greptime | information_schema | collations | is_default | String | FIELD | | No | String | |
| greptime | information_schema | collations | sortlen | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | column_privileges | column_name | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | grantee | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | is_grantable | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | privilege_type | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | table_name | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | column_name | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | histogram | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | schema_name | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | table_name | String | FIELD | | No | String | |
| greptime | information_schema | columns | column_comment | String | FIELD | | Yes | String | |
| greptime | information_schema | columns | column_default | String | FIELD | | Yes | String | |
| greptime | information_schema | columns | column_name | String | FIELD | | No | String | |
| greptime | information_schema | columns | column_type | String | FIELD | | No | String | |
| greptime | information_schema | columns | data_type | String | FIELD | | No | String | |
| greptime | information_schema | columns | is_nullable | String | FIELD | | No | String | |
| greptime | information_schema | columns | semantic_type | String | FIELD | | No | String | |
| greptime | information_schema | columns | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | columns | table_name | String | FIELD | | No | String | |
| greptime | information_schema | columns | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | engines | comment | String | FIELD | | No | String | |
| greptime | information_schema | engines | engine | String | FIELD | | No | String | |
| greptime | information_schema | engines | savepoints | String | FIELD | | No | String | |
| greptime | information_schema | engines | support | String | FIELD | | No | String | |
| greptime | information_schema | engines | transactions | String | FIELD | | No | String | |
| greptime | information_schema | engines | xa | String | FIELD | | No | String | |
| greptime | information_schema | events | character_set_client | String | FIELD | | No | String | |
| greptime | information_schema | events | collation_connection | String | FIELD | | No | String | |
| greptime | information_schema | events | created | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | database_collation | String | FIELD | | No | String | |
| greptime | information_schema | events | definer | String | FIELD | | No | String | |
| greptime | information_schema | events | ends | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | event_body | String | FIELD | | No | String | |
| greptime | information_schema | events | event_catalog | String | FIELD | | No | String | |
| greptime | information_schema | events | event_comment | String | FIELD | | No | String | |
| greptime | information_schema | events | event_definition | String | FIELD | | No | String | |
| greptime | information_schema | events | event_name | String | FIELD | | No | String | |
| greptime | information_schema | events | event_schema | String | FIELD | | No | String | |
| greptime | information_schema | events | event_type | String | FIELD | | No | String | |
| greptime | information_schema | events | execute_at | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | interval_field | String | FIELD | | No | String | |
| greptime | information_schema | events | interval_value | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | events | last_altered | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | last_executed | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | on_completion | String | FIELD | | No | String | |
| greptime | information_schema | events | originator | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | events | sql_mode | String | FIELD | | No | String | |
| greptime | information_schema | events | starts | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | status | String | FIELD | | No | String | |
| greptime | information_schema | events | time_zone | String | FIELD | | No | String | |
| greptime | information_schema | files | autoextend_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | avg_row_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | check_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | checksum | String | FIELD | | No | String | |
| greptime | information_schema | files | create_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | creation_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | data_free | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | data_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | deleted_rows | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | engine | String | FIELD | | No | String | |
| greptime | information_schema | files | extent_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | extra | String | FIELD | | No | String | |
| greptime | information_schema | files | file_id | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | file_name | String | FIELD | | No | String | |
| greptime | information_schema | files | file_type | String | FIELD | | No | String | |
| greptime | information_schema | files | free_extents | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | fulltext_keys | String | FIELD | | No | String | |
| greptime | information_schema | files | index_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | initial_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | last_access_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | last_update_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | logfile_group_name | String | FIELD | | No | String | |
| greptime | information_schema | files | logfile_group_number | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | max_data_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | maximum_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | recover_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | row_format | String | FIELD | | No | String | |
| greptime | information_schema | files | status | String | FIELD | | No | String | |
| greptime | information_schema | files | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | files | table_name | String | FIELD | | No | String | |
| greptime | information_schema | files | table_rows | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | files | tablespace_name | String | FIELD | | No | String | |
| greptime | information_schema | files | total_extents | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | transaction_counter | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | update_count | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | update_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | version | String | FIELD | | No | String | |
| greptime | information_schema | global_status | variable_name | String | FIELD | | No | String | |
| greptime | information_schema | global_status | variable_value | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | column_name | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | ordinal_position | UInt32 | FIELD | | No | UInt32 | |
| greptime | information_schema | key_column_usage | position_in_unique_constraint | UInt32 | FIELD | | Yes | UInt32 | |
| greptime | information_schema | key_column_usage | referenced_column_name | String | FIELD | | Yes | String | |
| greptime | information_schema | key_column_usage | referenced_table_name | String | FIELD | | Yes | String | |
| greptime | information_schema | key_column_usage | referenced_table_schema | String | FIELD | | Yes | String | |
| greptime | information_schema | key_column_usage | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | table_name | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | optimizer_trace | insufficient_privileges | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | optimizer_trace | missing_bytes_beyond_max_mem_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | optimizer_trace | query | String | FIELD | | No | String | |
| greptime | information_schema | optimizer_trace | trace | String | FIELD | | No | String | |
| greptime | information_schema | parameters | character_maximum_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | character_octet_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | data_type | String | FIELD | | No | String | |
| greptime | information_schema | parameters | datetime_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | dtd_identifier | String | FIELD | | No | String | |
| greptime | information_schema | parameters | numeric_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | numeric_scale | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | ordinal_position | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | parameter_mode | String | FIELD | | No | String | |
| greptime | information_schema | parameters | parameter_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | routine_type | String | FIELD | | No | String | |
| greptime | information_schema | parameters | specific_catalog | String | FIELD | | No | String | |
| greptime | information_schema | parameters | specific_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | specific_schema | String | FIELD | | No | String | |
| greptime | information_schema | partitions | avg_row_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | check_time | DateTime | FIELD | | Yes | DateTime | |
| greptime | information_schema | partitions | checksum | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | create_time | DateTime | FIELD | | Yes | DateTime | |
| greptime | information_schema | partitions | data_free | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | data_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | greptime_partition_id | UInt64 | FIELD | | Yes | UInt64 | |
| greptime | information_schema | partitions | index_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | max_data_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | nodegroup | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_comment | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_description | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_expression | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_method | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_name | String | FIELD | | No | String | |
| greptime | information_schema | partitions | partition_ordinal_position | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | subpartition_expression | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | subpartition_method | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | subpartition_name | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | subpartition_ordinal_position | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | partitions | table_name | String | FIELD | | No | String | |
| greptime | information_schema | partitions | table_rows | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | partitions | tablespace_name | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | update_time | DateTime | FIELD | | Yes | DateTime | |
| greptime | information_schema | profiling | block_ops_in | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | block_ops_out | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | context_involuntary | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | context_voluntary | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | cpu_system | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | cpu_user | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | duration | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | messages_received | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | messages_sent | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | page_faults_major | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | page_faults_minor | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | query_id | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | seq | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | source_file | String | FIELD | | No | String | |
| greptime | information_schema | profiling | source_function | String | FIELD | | No | String | |
| greptime | information_schema | profiling | source_line | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | state | String | FIELD | | No | String | |
| greptime | information_schema | profiling | swaps | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | referential_constraints | constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | delete_rule | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | match_option | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | referenced_table_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | table_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | unique_constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | unique_constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | unique_constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | update_rule | String | FIELD | | No | String | |
| greptime | information_schema | routines | character_maximum_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | character_octet_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | character_set_client | String | FIELD | | No | String | |
| greptime | information_schema | routines | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | collation_connection | String | FIELD | | No | String | |
| greptime | information_schema | routines | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | created | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | routines | data_type | String | FIELD | | No | String | |
| greptime | information_schema | routines | database_collation | String | FIELD | | No | String | |
| greptime | information_schema | routines | datetime_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | definer | String | FIELD | | No | String | |
| greptime | information_schema | routines | dtd_identifier | String | FIELD | | No | String | |
| greptime | information_schema | routines | external_language | String | FIELD | | No | String | |
| greptime | information_schema | routines | external_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | is_deterministic | String | FIELD | | No | String | |
| greptime | information_schema | routines | last_altered | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | routines | numeric_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | numeric_scale | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | parameter_style | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_body | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_catalog | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_comment | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_definition | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_schema | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_type | String | FIELD | | No | String | |
| greptime | information_schema | routines | security_type | String | FIELD | | No | String | |
| greptime | information_schema | routines | specific_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | sql_data_access | String | FIELD | | No | String | |
| greptime | information_schema | routines | sql_mode | String | FIELD | | No | String | |
| greptime | information_schema | routines | sql_path | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | grantee | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | is_grantable | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | privilege_type | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | schemata | catalog_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | default_character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | default_collation_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | schema_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | sql_path | String | FIELD | | Yes | String | |
| greptime | information_schema | session_status | variable_name | String | FIELD | | No | String | |
| greptime | information_schema | session_status | variable_value | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | grantee | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | is_grantable | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | privilege_type | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | table_name | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | tables | engine | String | FIELD | | Yes | String | |
| greptime | information_schema | tables | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | tables | table_id | UInt32 | FIELD | | Yes | UInt32 | |
| greptime | information_schema | tables | table_name | String | FIELD | | No | String | |
| greptime | information_schema | tables | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | tables | table_type | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_condition | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_order | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | triggers | action_orientation | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_new_row | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_new_table | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_old_row | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_old_table | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_statement | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_timing | String | FIELD | | No | String | |
| greptime | information_schema | triggers | character_set_client | String | FIELD | | No | String | |
| greptime | information_schema | triggers | collation_connection | String | FIELD | | No | String | |
| greptime | information_schema | triggers | created | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | triggers | database_collation | String | FIELD | | No | String | |
| greptime | information_schema | triggers | definer | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_manipulation | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_object_catalog | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_object_schema | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_object_table | String | FIELD | | No | String | |
| greptime | information_schema | triggers | sql_mode | String | FIELD | | No | String | |
| greptime | information_schema | triggers | trigger_catalog | String | FIELD | | No | String | |
| greptime | information_schema | triggers | trigger_name | String | FIELD | | No | String | |
| greptime | information_schema | triggers | trigger_schema | String | FIELD | | No | String | |
| greptime | public | numbers | number | UInt32 | TAG | | No | UInt32 | |
+---------------+--------------------+---------------------------------------+-----------------------------------+-----------+---------------+----------------+-------------+-------------+----------------+
+---------------+--------------------+---------------------------------------+-----------------------------------+----------------------+---------------+----------------+-------------+----------------------+----------------+
| table_catalog | table_schema | table_name | column_name | data_type | semantic_type | column_default | is_nullable | column_type | column_comment |
+---------------+--------------------+---------------------------------------+-----------------------------------+----------------------+---------------+----------------+-------------+----------------------+----------------+
| greptime | information_schema | build_info | git_branch | String | FIELD | | No | String | |
| greptime | information_schema | build_info | git_commit | String | FIELD | | No | String | |
| greptime | information_schema | build_info | git_commit_short | String | FIELD | | No | String | |
| greptime | information_schema | build_info | git_dirty | String | FIELD | | No | String | |
| greptime | information_schema | build_info | pkg_version | String | FIELD | | No | String | |
| greptime | information_schema | character_sets | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | character_sets | default_collate_name | String | FIELD | | No | String | |
| greptime | information_schema | character_sets | description | String | FIELD | | No | String | |
| greptime | information_schema | character_sets | maxlen | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | check_constraints | check_clause | String | FIELD | | No | String | |
| greptime | information_schema | check_constraints | constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | check_constraints | constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | check_constraints | constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | collation_character_set_applicability | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | collation_character_set_applicability | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | collations | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | collations | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | collations | id | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | collations | is_compiled | String | FIELD | | No | String | |
| greptime | information_schema | collations | is_default | String | FIELD | | No | String | |
| greptime | information_schema | collations | sortlen | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | column_privileges | column_name | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | grantee | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | is_grantable | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | privilege_type | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | table_name | String | FIELD | | No | String | |
| greptime | information_schema | column_privileges | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | column_name | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | histogram | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | schema_name | String | FIELD | | No | String | |
| greptime | information_schema | column_statistics | table_name | String | FIELD | | No | String | |
| greptime | information_schema | columns | column_comment | String | FIELD | | Yes | String | |
| greptime | information_schema | columns | column_default | String | FIELD | | Yes | String | |
| greptime | information_schema | columns | column_name | String | FIELD | | No | String | |
| greptime | information_schema | columns | column_type | String | FIELD | | No | String | |
| greptime | information_schema | columns | data_type | String | FIELD | | No | String | |
| greptime | information_schema | columns | is_nullable | String | FIELD | | No | String | |
| greptime | information_schema | columns | semantic_type | String | FIELD | | No | String | |
| greptime | information_schema | columns | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | columns | table_name | String | FIELD | | No | String | |
| greptime | information_schema | columns | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | engines | comment | String | FIELD | | No | String | |
| greptime | information_schema | engines | engine | String | FIELD | | No | String | |
| greptime | information_schema | engines | savepoints | String | FIELD | | No | String | |
| greptime | information_schema | engines | support | String | FIELD | | No | String | |
| greptime | information_schema | engines | transactions | String | FIELD | | No | String | |
| greptime | information_schema | engines | xa | String | FIELD | | No | String | |
| greptime | information_schema | events | character_set_client | String | FIELD | | No | String | |
| greptime | information_schema | events | collation_connection | String | FIELD | | No | String | |
| greptime | information_schema | events | created | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | database_collation | String | FIELD | | No | String | |
| greptime | information_schema | events | definer | String | FIELD | | No | String | |
| greptime | information_schema | events | ends | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | event_body | String | FIELD | | No | String | |
| greptime | information_schema | events | event_catalog | String | FIELD | | No | String | |
| greptime | information_schema | events | event_comment | String | FIELD | | No | String | |
| greptime | information_schema | events | event_definition | String | FIELD | | No | String | |
| greptime | information_schema | events | event_name | String | FIELD | | No | String | |
| greptime | information_schema | events | event_schema | String | FIELD | | No | String | |
| greptime | information_schema | events | event_type | String | FIELD | | No | String | |
| greptime | information_schema | events | execute_at | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | interval_field | String | FIELD | | No | String | |
| greptime | information_schema | events | interval_value | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | events | last_altered | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | last_executed | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | on_completion | String | FIELD | | No | String | |
| greptime | information_schema | events | originator | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | events | sql_mode | String | FIELD | | No | String | |
| greptime | information_schema | events | starts | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | events | status | String | FIELD | | No | String | |
| greptime | information_schema | events | time_zone | String | FIELD | | No | String | |
| greptime | information_schema | files | autoextend_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | avg_row_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | check_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | checksum | String | FIELD | | No | String | |
| greptime | information_schema | files | create_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | creation_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | data_free | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | data_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | deleted_rows | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | engine | String | FIELD | | No | String | |
| greptime | information_schema | files | extent_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | extra | String | FIELD | | No | String | |
| greptime | information_schema | files | file_id | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | file_name | String | FIELD | | No | String | |
| greptime | information_schema | files | file_type | String | FIELD | | No | String | |
| greptime | information_schema | files | free_extents | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | fulltext_keys | String | FIELD | | No | String | |
| greptime | information_schema | files | index_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | initial_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | last_access_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | last_update_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | logfile_group_name | String | FIELD | | No | String | |
| greptime | information_schema | files | logfile_group_number | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | max_data_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | maximum_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | recover_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | row_format | String | FIELD | | No | String | |
| greptime | information_schema | files | status | String | FIELD | | No | String | |
| greptime | information_schema | files | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | files | table_name | String | FIELD | | No | String | |
| greptime | information_schema | files | table_rows | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | files | tablespace_name | String | FIELD | | No | String | |
| greptime | information_schema | files | total_extents | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | transaction_counter | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | update_count | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | files | update_time | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | files | version | String | FIELD | | No | String | |
| greptime | information_schema | global_status | variable_name | String | FIELD | | No | String | |
| greptime | information_schema | global_status | variable_value | String | FIELD | | No | String | |
| greptime | information_schema | greptime_region_peers | down_seconds | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | greptime_region_peers | is_leader | String | FIELD | | Yes | String | |
| greptime | information_schema | greptime_region_peers | peer_addr | String | FIELD | | Yes | String | |
| greptime | information_schema | greptime_region_peers | peer_id | UInt64 | FIELD | | Yes | UInt64 | |
| greptime | information_schema | greptime_region_peers | region_id | UInt64 | FIELD | | No | UInt64 | |
| greptime | information_schema | greptime_region_peers | status | String | FIELD | | Yes | String | |
| greptime | information_schema | key_column_usage | column_name | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | ordinal_position | UInt32 | FIELD | | No | UInt32 | |
| greptime | information_schema | key_column_usage | position_in_unique_constraint | UInt32 | FIELD | | Yes | UInt32 | |
| greptime | information_schema | key_column_usage | referenced_column_name | String | FIELD | | Yes | String | |
| greptime | information_schema | key_column_usage | referenced_table_name | String | FIELD | | Yes | String | |
| greptime | information_schema | key_column_usage | referenced_table_schema | String | FIELD | | Yes | String | |
| greptime | information_schema | key_column_usage | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | table_name | String | FIELD | | No | String | |
| greptime | information_schema | key_column_usage | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | optimizer_trace | insufficient_privileges | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | optimizer_trace | missing_bytes_beyond_max_mem_size | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | optimizer_trace | query | String | FIELD | | No | String | |
| greptime | information_schema | optimizer_trace | trace | String | FIELD | | No | String | |
| greptime | information_schema | parameters | character_maximum_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | character_octet_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | data_type | String | FIELD | | No | String | |
| greptime | information_schema | parameters | datetime_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | dtd_identifier | String | FIELD | | No | String | |
| greptime | information_schema | parameters | numeric_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | numeric_scale | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | ordinal_position | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | parameters | parameter_mode | String | FIELD | | No | String | |
| greptime | information_schema | parameters | parameter_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | routine_type | String | FIELD | | No | String | |
| greptime | information_schema | parameters | specific_catalog | String | FIELD | | No | String | |
| greptime | information_schema | parameters | specific_name | String | FIELD | | No | String | |
| greptime | information_schema | parameters | specific_schema | String | FIELD | | No | String | |
| greptime | information_schema | partitions | avg_row_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | check_time | DateTime | FIELD | | Yes | DateTime | |
| greptime | information_schema | partitions | checksum | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | create_time | DateTime | FIELD | | Yes | DateTime | |
| greptime | information_schema | partitions | data_free | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | data_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | greptime_partition_id | UInt64 | FIELD | | Yes | UInt64 | |
| greptime | information_schema | partitions | index_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | max_data_length | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | nodegroup | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_comment | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_description | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_expression | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_method | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | partition_name | String | FIELD | | No | String | |
| greptime | information_schema | partitions | partition_ordinal_position | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | subpartition_expression | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | subpartition_method | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | subpartition_name | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | subpartition_ordinal_position | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | partitions | table_name | String | FIELD | | No | String | |
| greptime | information_schema | partitions | table_rows | Int64 | FIELD | | Yes | Int64 | |
| greptime | information_schema | partitions | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | partitions | tablespace_name | String | FIELD | | Yes | String | |
| greptime | information_schema | partitions | update_time | DateTime | FIELD | | Yes | DateTime | |
| greptime | information_schema | profiling | block_ops_in | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | block_ops_out | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | context_involuntary | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | context_voluntary | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | cpu_system | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | cpu_user | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | duration | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | messages_received | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | messages_sent | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | page_faults_major | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | page_faults_minor | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | query_id | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | seq | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | source_file | String | FIELD | | No | String | |
| greptime | information_schema | profiling | source_function | String | FIELD | | No | String | |
| greptime | information_schema | profiling | source_line | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | profiling | state | String | FIELD | | No | String | |
| greptime | information_schema | profiling | swaps | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | referential_constraints | constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | delete_rule | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | match_option | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | referenced_table_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | table_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | unique_constraint_catalog | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | unique_constraint_name | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | unique_constraint_schema | String | FIELD | | No | String | |
| greptime | information_schema | referential_constraints | update_rule | String | FIELD | | No | String | |
| greptime | information_schema | routines | character_maximum_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | character_octet_length | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | character_set_client | String | FIELD | | No | String | |
| greptime | information_schema | routines | character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | collation_connection | String | FIELD | | No | String | |
| greptime | information_schema | routines | collation_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | created | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | routines | data_type | String | FIELD | | No | String | |
| greptime | information_schema | routines | database_collation | String | FIELD | | No | String | |
| greptime | information_schema | routines | datetime_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | definer | String | FIELD | | No | String | |
| greptime | information_schema | routines | dtd_identifier | String | FIELD | | No | String | |
| greptime | information_schema | routines | external_language | String | FIELD | | No | String | |
| greptime | information_schema | routines | external_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | is_deterministic | String | FIELD | | No | String | |
| greptime | information_schema | routines | last_altered | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | routines | numeric_precision | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | numeric_scale | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | routines | parameter_style | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_body | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_catalog | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_comment | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_definition | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_schema | String | FIELD | | No | String | |
| greptime | information_schema | routines | routine_type | String | FIELD | | No | String | |
| greptime | information_schema | routines | security_type | String | FIELD | | No | String | |
| greptime | information_schema | routines | specific_name | String | FIELD | | No | String | |
| greptime | information_schema | routines | sql_data_access | String | FIELD | | No | String | |
| greptime | information_schema | routines | sql_mode | String | FIELD | | No | String | |
| greptime | information_schema | routines | sql_path | String | FIELD | | No | String | |
| greptime | information_schema | runtime_metrics | labels | String | FIELD | | Yes | String | |
| greptime | information_schema | runtime_metrics | metric_name | String | FIELD | | No | String | |
| greptime | information_schema | runtime_metrics | node | String | FIELD | | No | String | |
| greptime | information_schema | runtime_metrics | node_type | String | FIELD | | No | String | |
| greptime | information_schema | runtime_metrics | timestamp | TimestampMillisecond | FIELD | | No | TimestampMillisecond | |
| greptime | information_schema | runtime_metrics | value | Float64 | FIELD | | No | Float64 | |
| greptime | information_schema | schema_privileges | grantee | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | is_grantable | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | privilege_type | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | schema_privileges | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | schemata | catalog_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | default_character_set_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | default_collation_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | schema_name | String | FIELD | | No | String | |
| greptime | information_schema | schemata | sql_path | String | FIELD | | Yes | String | |
| greptime | information_schema | session_status | variable_name | String | FIELD | | No | String | |
| greptime | information_schema | session_status | variable_value | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | grantee | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | is_grantable | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | privilege_type | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | table_name | String | FIELD | | No | String | |
| greptime | information_schema | table_privileges | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | tables | engine | String | FIELD | | Yes | String | |
| greptime | information_schema | tables | table_catalog | String | FIELD | | No | String | |
| greptime | information_schema | tables | table_id | UInt32 | FIELD | | Yes | UInt32 | |
| greptime | information_schema | tables | table_name | String | FIELD | | No | String | |
| greptime | information_schema | tables | table_schema | String | FIELD | | No | String | |
| greptime | information_schema | tables | table_type | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_condition | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_order | Int64 | FIELD | | No | Int64 | |
| greptime | information_schema | triggers | action_orientation | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_new_row | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_new_table | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_old_row | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_reference_old_table | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_statement | String | FIELD | | No | String | |
| greptime | information_schema | triggers | action_timing | String | FIELD | | No | String | |
| greptime | information_schema | triggers | character_set_client | String | FIELD | | No | String | |
| greptime | information_schema | triggers | collation_connection | String | FIELD | | No | String | |
| greptime | information_schema | triggers | created | DateTime | FIELD | | No | DateTime | |
| greptime | information_schema | triggers | database_collation | String | FIELD | | No | String | |
| greptime | information_schema | triggers | definer | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_manipulation | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_object_catalog | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_object_schema | String | FIELD | | No | String | |
| greptime | information_schema | triggers | event_object_table | String | FIELD | | No | String | |
| greptime | information_schema | triggers | sql_mode | String | FIELD | | No | String | |
| greptime | information_schema | triggers | trigger_catalog | String | FIELD | | No | String | |
| greptime | information_schema | triggers | trigger_name | String | FIELD | | No | String | |
| greptime | information_schema | triggers | trigger_schema | String | FIELD | | No | String | |
| greptime | public | numbers | number | UInt32 | TAG | | No | UInt32 | |
+---------------+--------------------+---------------------------------------+-----------------------------------+----------------------+---------------+----------------+-------------+----------------------+----------------+
create
database my_db;