From 7ea69d3f5b1d59a8f397b68cad017c26de7cf58e Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 21 Feb 2024 09:44:30 +0800 Subject: [PATCH] chore: remove unused deprecated table_dir_with_catalog_and_schema --- src/store-api/src/path_utils.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/store-api/src/path_utils.rs b/src/store-api/src/path_utils.rs index 82d55c588d0e..b83f6e33d5f4 100644 --- a/src/store-api/src/path_utils.rs +++ b/src/store-api/src/path_utils.rs @@ -32,12 +32,6 @@ pub fn region_name(table_id: TableId, region_number: RegionNumber) -> String { format!("{table_id}_{region_number:010}") } -// TODO(jeremy): There are still some dependencies on it. Someone will be here soon to remove it. -pub fn table_dir_with_catalog_and_schema(catalog: &str, schema: &str, table_id: TableId) -> String { - let path = format!("{}/{}", catalog, schema); - table_dir(&path, table_id) -} - #[inline] pub fn table_dir(path: &str, table_id: TableId) -> String { format!("{DATA_DIR}{path}/{table_id}/")