taiyang-li commented on code in PR #8400:
URL: https://github.com/apache/incubator-gluten/pull/8400#discussion_r1903749965
##########
cpp-ch/local-engine/Storages/MergeTree/MetaDataHelper.cpp:
##########
@@ -157,8 +157,8 @@ void restoreMetaData<LOCAL>(
return;
// Increase the speed of metadata recovery
- auto max_concurrency = std::max(10UL,
QueryContext::globalContext()->getSettingsRef()[Setting::max_threads].value);
- auto max_threads = std::min(max_concurrency, not_exists_part.size());
+ auto max_concurrency = std::max(static_cast<UInt64>(10UL),
QueryContext::globalContext()->getSettingsRef()[Setting::max_threads].value);
Review Comment:
remove UL suffix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]