mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Add comment
This commit is contained in:
parent
827ac17dc2
commit
c786fbf8bd
@ -460,6 +460,9 @@ public:
|
||||
for (auto && key : all_keys)
|
||||
{
|
||||
std::optional<S3::ObjectInfo> info;
|
||||
/// In case all_keys.size() > 1, avoid getting object info now
|
||||
/// (it will be done anyway eventually, but with delay and in parallel).
|
||||
/// But progress bar will not work in this case.
|
||||
if (need_total_size && all_keys.size() == 1)
|
||||
{
|
||||
info = S3::getObjectInfo(client_, bucket, key, version_id_, request_settings_);
|
||||
|
Loading…
Reference in New Issue
Block a user