mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
dbms: fixed progress bar for subqueries in IN and JOIN [#METR-18025].
This commit is contained in:
parent
8e23685201
commit
6ffb49fbe4
@ -38,6 +38,15 @@ protected:
|
||||
return Block();
|
||||
|
||||
children.push_back(input);
|
||||
|
||||
if (IProfilingBlockInputStream * p_input = dynamic_cast<IProfilingBlockInputStream *>(input.get()))
|
||||
{
|
||||
/// Они могли быть установлены раньше, но не были протащены в input.
|
||||
if (progress_callback)
|
||||
p_input->setProgressCallback(progress_callback);
|
||||
if (process_list_elem)
|
||||
p_input->setProcessListElement(process_list_elem);
|
||||
}
|
||||
}
|
||||
|
||||
return input->read();
|
||||
|
Loading…
Reference in New Issue
Block a user