mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Fix clang-tidy
This commit is contained in:
parent
272ea7fc5b
commit
67fc9d7129
@ -596,7 +596,7 @@ void PushingToLiveViewSink::consume(Chunk chunk)
|
|||||||
{
|
{
|
||||||
Progress local_progress(chunk.getNumRows(), chunk.bytes(), 0);
|
Progress local_progress(chunk.getNumRows(), chunk.bytes(), 0);
|
||||||
StorageLiveView::writeIntoLiveView(live_view, getHeader().cloneWithColumns(chunk.detachColumns()), context);
|
StorageLiveView::writeIntoLiveView(live_view, getHeader().cloneWithColumns(chunk.detachColumns()), context);
|
||||||
auto process = context->getProcessListElement();
|
auto * process = context->getProcessListElement();
|
||||||
if (process)
|
if (process)
|
||||||
process->updateProgressIn(local_progress);
|
process->updateProgressIn(local_progress);
|
||||||
ProfileEvents::increment(ProfileEvents::SelectedRows, local_progress.read_rows);
|
ProfileEvents::increment(ProfileEvents::SelectedRows, local_progress.read_rows);
|
||||||
@ -619,7 +619,7 @@ void PushingToWindowViewSink::consume(Chunk chunk)
|
|||||||
Progress local_progress(chunk.getNumRows(), chunk.bytes(), 0);
|
Progress local_progress(chunk.getNumRows(), chunk.bytes(), 0);
|
||||||
StorageWindowView::writeIntoWindowView(
|
StorageWindowView::writeIntoWindowView(
|
||||||
window_view, getHeader().cloneWithColumns(chunk.detachColumns()), context);
|
window_view, getHeader().cloneWithColumns(chunk.detachColumns()), context);
|
||||||
auto process = context->getProcessListElement();
|
auto * process = context->getProcessListElement();
|
||||||
if (process)
|
if (process)
|
||||||
process->updateProgressIn(local_progress);
|
process->updateProgressIn(local_progress);
|
||||||
ProfileEvents::increment(ProfileEvents::SelectedRows, local_progress.read_rows);
|
ProfileEvents::increment(ProfileEvents::SelectedRows, local_progress.read_rows);
|
||||||
|
Loading…
Reference in New Issue
Block a user