feat: add table info (#323)

* refactor: add table_info method for Table trait

* feat: add table_info method to Table trait

* test: add more unit test

* fix: impl table_info for SystemTable

* test: fix failing test
This commit is contained in:
Lei, Huang
2022-10-20 12:23:44 +08:00
committed by GitHub
parent d5800d0b60
commit 2d52f19662
27 changed files with 318 additions and 70 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ impl ScriptsTable {
// maybe put into system catalog?
let request = CreateTableRequest {
id: SCRIPTS_TABLE_ID,
catalog_name: Some(DEFAULT_CATALOG_NAME.to_string()),
schema_name: Some(DEFAULT_SCHEMA_NAME.to_string()),
catalog_name: DEFAULT_CATALOG_NAME.to_string(),
schema_name: DEFAULT_SCHEMA_NAME.to_string(),
table_name: SCRIPTS_TABLE_NAME.to_string(),
desc: Some("Scripts table".to_string()),
schema,