mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
small opt
This commit is contained in:
parent
01179a1eb4
commit
7f69df63fd
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <deque>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@ -205,6 +206,10 @@ public:
|
||||
void filterBySelector()
|
||||
{
|
||||
chassert(block);
|
||||
|
||||
if (!wasScattered())
|
||||
return;
|
||||
|
||||
auto columns = block.getColumns();
|
||||
for (auto & col : columns)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user