Fix read_rows for live view.

This commit is contained in:
Nikolai Kochetov 2021-09-14 17:22:26 +03:00
parent 0e267c50b4
commit 6a32a949e6

View File

@ -271,7 +271,9 @@ public:
void consume(Chunk chunk) override
{
Progress local_progress(chunk.getNumRows(), chunk.bytes(), 0);
StorageLiveView::writeIntoLiveView(live_view, getHeader().cloneWithColumns(chunk.detachColumns()), context);
CurrentThread::updateProgressIn(local_progress);
}
private: