mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
36045c00c2
commit
eb8d9b5a97
@ -23,6 +23,7 @@ public:
|
||||
}
|
||||
|
||||
Block readImpl();
|
||||
void readSuffix();
|
||||
|
||||
String getName() const { return "MergingSortedBlockInputStream"; }
|
||||
|
||||
|
@ -107,6 +107,13 @@ Block MergingSortedBlockInputStream::readImpl()
|
||||
return merged_block;
|
||||
}
|
||||
|
||||
inputs.clear();
|
||||
return merged_block;
|
||||
}
|
||||
|
||||
|
||||
void MergingSortedBlockInputStream::readSuffix()
|
||||
{
|
||||
const BlockStreamProfileInfo & profile_info = getInfo();
|
||||
double seconds = profile_info.work_stopwatch.elapsedSeconds();
|
||||
LOG_DEBUG(log, std::fixed << std::setprecision(2)
|
||||
@ -114,9 +121,6 @@ Block MergingSortedBlockInputStream::readImpl()
|
||||
<< " in " << seconds << " sec., "
|
||||
<< profile_info.rows / seconds << " rows/sec., "
|
||||
<< profile_info.bytes / 1000000.0 / seconds << " MiB/sec.");
|
||||
|
||||
inputs.clear();
|
||||
return merged_block;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user