mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 06:12:55 +00:00
refactor: catalog (#1454)
* wip * add schema_async * remove CatalogList * remove catalog provider and schema provider * fix * fix: rename table * fix: sqlness * fix: ignore tonic error metadata * fix: table engine name * feat: rename catalog_async to catalog * respect engine name in table regional value when deregistering tables * fix: CR
This commit is contained in:
@@ -267,13 +267,16 @@ pub async fn create_test_table(
|
||||
|
||||
let schema_provider = catalog_manager
|
||||
.catalog(DEFAULT_CATALOG_NAME)
|
||||
.await
|
||||
.unwrap()
|
||||
.unwrap()
|
||||
.schema(DEFAULT_SCHEMA_NAME)
|
||||
.await
|
||||
.unwrap()
|
||||
.unwrap();
|
||||
schema_provider
|
||||
.register_table(table_name.to_string(), table)
|
||||
.await
|
||||
.unwrap();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user