From 792565d858341ff86174d0049240b5164f73eb5b Mon Sep 17 00:00:00 2001 From: Smita Kulkarni Date: Fri, 12 May 2023 17:23:37 +0200 Subject: [PATCH] Updated to ULL --- src/Storages/StorageFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/StorageFile.cpp b/src/Storages/StorageFile.cpp index f6ce93b0688..2eb07d77e1b 100644 --- a/src/Storages/StorageFile.cpp +++ b/src/Storages/StorageFile.cpp @@ -620,7 +620,7 @@ public: const Settings & settings = context->getSettingsRef(); chassert(!storage->paths.empty()); - const auto max_parsing_threads = std::max(settings.max_threads / storage->paths.size(), 1UL); + const auto max_parsing_threads = std::max(settings.max_threads / storage->paths.size(), 1ULL); auto format = context->getInputFormat(storage->format_name, *read_buf, block_for_format, max_block_size, storage->format_settings, max_parsing_threads);