chore: remove unused deprecated table_dir_with_catalog_and_schema (#3341)

This commit is contained in:
tison
2024-02-21 16:46:36 +08:00
committed by GitHub
parent fa08085119
commit a7bf458a37

View File

@@ -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}/")