mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Fix read_rows for live view.
This commit is contained in:
parent
0e267c50b4
commit
6a32a949e6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user