From 40deaf1661812d6d89fd19ff3efdfc867175d1ac Mon Sep 17 00:00:00 2001 From: kssenii Date: Tue, 7 Feb 2023 16:30:04 +0100 Subject: [PATCH] Fix clang-tidy --- src/Storages/StorageDeltaLake.cpp | 2 +- src/Storages/StorageDeltaLake.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);