Skip to content

Commit dd7c679

Browse files
author
shuxu.li
committed
feat: Refresh method support for table
1 parent 018d8bb commit dd7c679

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/iceberg/catalog.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ class ICEBERG_EXPORT Catalog {
175175
/// \return a Table instance or ErrorKind::kAlreadyExists if the table already exists
176176
virtual Result<std::shared_ptr<Table>> RegisterTable(
177177
const TableIdentifier& identifier, const std::string& metadata_file_location) = 0;
178+
178179
/// \brief A builder used to create valid tables or start create/replace transactions
179180
class TableBuilder {
180181
public:

test/mock_catalog.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,19 @@ class MockCatalog : public Catalog {
2828
MockCatalog() = default;
2929
~MockCatalog() override = default;
3030

31-
// NOLINTBGEGIN(clang-diagnostic-error)
31+
// NOLINTBEGIN
3232
MOCK_METHOD(std::string_view, name, (), (const, override));
3333

3434
MOCK_METHOD(Status, CreateNamespace,
3535
(const Namespace&, (const std::unordered_map<std::string, std::string>&)),
3636
(override));
37-
// NOLINTEND(clang-diagnostic-error)
37+
// NOLINTEND
3838

3939
MOCK_METHOD((Result<std::vector<Namespace>>), ListNamespaces, (const Namespace&),
4040
(const, override));
4141

4242
MOCK_METHOD((Result<std::unordered_map<std::string, std::string>>),
43-
GetNamespaceProperties, (const Namespace&),
44-
(contest / mock_catalog.hst, override));
43+
GetNamespaceProperties, (const Namespace&), (const, override));
4544

4645
MOCK_METHOD(Status, UpdateNamespaceProperties,
4746
(const Namespace&, (const std::unordered_map<std::string, std::string>&),

0 commit comments

Comments
 (0)