diff --git a/src/Databases/Iceberg/RestCatalog.cpp b/src/Databases/Iceberg/RestCatalog.cpp index 0fe9e90e46f..a34aa45b812 100644 --- a/src/Databases/Iceberg/RestCatalog.cpp +++ b/src/Databases/Iceberg/RestCatalog.cpp @@ -22,6 +22,7 @@ namespace DB::ErrorCodes { extern const int ICEBERG_CATALOG_ERROR; extern const int LOGICAL_ERROR; + extern const int BAD_ARGUMENTS; } namespace CurrentMetrics diff --git a/src/Databases/Iceberg/RestCatalog.h b/src/Databases/Iceberg/RestCatalog.h index 6c842e1dff7..402e761b07a 100644 --- a/src/Databases/Iceberg/RestCatalog.h +++ b/src/Databases/Iceberg/RestCatalog.h @@ -48,7 +48,7 @@ public: private: struct Config { - /// Prefix is a path of the catalog enpoint, + /// Prefix is a path of the catalog endpoint, /// e.g. /v1/{prefix}/namespaces/{namespace}/tables/{table} std::filesystem::path prefix; /// Base location is location of data in storage