@@ -109,15 +109,6 @@ class ICEBERG_EXPORT InMemoryNamespace {
109109 // / ErrorKind::kNoSuchTable if the table does not exist.
110110 Status UnregisterTable (const TableIdentifier& table_ident);
111111
112- // / \brief Updates the metadata location of an existing table.
113- // /
114- // / \param table_ident The fully qualified identifier of the table.
115- // / \param metadata_location The path to the table's metadata.
116- // / \return Status::OK if the table metadata location is updated;
117- // / Error otherwise.
118- Status UpdateTableMetaLocation (const TableIdentifier& table_ident,
119- const std::string& metadata_location);
120-
121112 // / \brief Checks if a table exists in the specified namespace.
122113 // /
123114 // / \param table_ident The identifier of the table to check.
@@ -306,17 +297,6 @@ Status InMemoryNamespace::UnregisterTable(TableIdentifier const& table_ident) {
306297 return {};
307298}
308299
309- Status InMemoryNamespace::UpdateTableMetaLocation (const TableIdentifier& table_ident,
310- const std::string& metadata_location) {
311- const auto ns = GetNamespace (this , table_ident.ns );
312- ICEBERG_RETURN_UNEXPECTED (ns);
313- if (!ns.value ()->table_metadata_locations_ .contains (table_ident.name )) {
314- return NotFound (" {} does not exist" , table_ident.name );
315- }
316- ns.value ()->table_metadata_locations_ [table_ident.name ] = metadata_location;
317- return {};
318- }
319-
320300Result<bool > InMemoryNamespace::TableExists (TableIdentifier const & table_ident) const {
321301 const auto ns = GetNamespace (this , table_ident.ns );
322302 ICEBERG_RETURN_UNEXPECTED (ns);
0 commit comments