diff --git a/src/Storages/StorageDeltaLake.cpp b/src/Storages/StorageDeltaLake.cpp index 6127db79525..9f86eaf70d0 100644 --- a/src/Storages/StorageDeltaLake.cpp +++ b/src/Storages/StorageDeltaLake.cpp @@ -94,7 +94,7 @@ void JsonMetadataGetter::init(ContextPtr context) } } -std::vector JsonMetadataGetter::getJsonLogFiles() +std::vector JsonMetadataGetter::getJsonLogFiles() const { const auto & client = base_configuration.client; const auto table_path = base_configuration.url.key; diff --git a/src/Storages/StorageDeltaLake.h b/src/Storages/StorageDeltaLake.h index 3495a061b14..33a15dcf115 100644 --- a/src/Storages/StorageDeltaLake.h +++ b/src/Storages/StorageDeltaLake.h @@ -44,7 +44,7 @@ public: private: void init(ContextPtr context); - std::vector getJsonLogFiles(); + std::vector getJsonLogFiles() const; std::shared_ptr createS3ReadBuffer(const String & key, ContextPtr context);