From a7bf458a37c3f2f011d010b094def54dd712c93e Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 21 Feb 2024 16:46:36 +0800 Subject: [PATCH] chore: remove unused deprecated table_dir_with_catalog_and_schema (#3341) --- 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}/")