File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -176,15 +176,6 @@ class ICEBERG_EXPORT Catalog {
176176 virtual Result<std::shared_ptr<Table>> RegisterTable (
177177 const TableIdentifier& identifier, const std::string& metadata_file_location) = 0;
178178
179- // / \brief Instantiate a builder to either create a table or start a create/replace
180- // / transaction
181- // /
182- // / \param identifier a table identifier
183- // / \param schema a schema
184- // / \return the builder to create a table or start a create/replace transaction
185- virtual std::unique_ptr<class TableBuilder > BuildTable (
186- const TableIdentifier& identifier, const Schema& schema) const = 0;
187-
188179 // / \brief A builder used to create valid tables or start create/replace transactions
189180 class TableBuilder {
190181 public:
@@ -233,6 +224,15 @@ class ICEBERG_EXPORT Catalog {
233224 // / \return the Transaction to create the table
234225 virtual std::unique_ptr<Transaction> StageCreate () = 0;
235226 };
227+
228+ // / \brief Instantiate a builder to either create a table or start a create/replace
229+ // / transaction
230+ // /
231+ // / \param identifier a table identifier
232+ // / \param schema a schema
233+ // / \return the builder to create a table or start a create/replace transaction
234+ virtual std::unique_ptr<TableBuilder> BuildTable (const TableIdentifier& identifier,
235+ const Schema& schema) const = 0;
236236};
237237
238238} // namespace iceberg
Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ Result<std::shared_ptr<Table>> InMemoryCatalog::RegisterTable(
441441 return LoadTable (identifier);
442442}
443443
444- std::unique_ptr<TableBuilder> InMemoryCatalog::BuildTable (
444+ std::unique_ptr<Catalog:: TableBuilder> InMemoryCatalog::BuildTable (
445445 const TableIdentifier& identifier, const Schema& schema) const {
446446 throw IcebergError (" not implemented" );
447447}
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class ICEBERG_EXPORT InMemoryCatalog
9090 const TableIdentifier& identifier,
9191 const std::string& metadata_file_location) override ;
9292
93- std::unique_ptr<iceberg ::TableBuilder> BuildTable (const TableIdentifier& identifier,
93+ std::unique_ptr<Catalog ::TableBuilder> BuildTable (const TableIdentifier& identifier,
9494 const Schema& schema) const override ;
9595
9696 private:
You can’t perform that action at this time.
0 commit comments