Split filter optimization.

This commit is contained in:
Nikolai Kochetov 2021-01-19 14:48:09 +03:00
parent b00f01d6b1
commit b0b3cfbd02

View File

@ -481,6 +481,15 @@ void ActionsDAG::removeUnusedInput(const std::string & column_name)
}
}
for (auto jt = nodes.begin(); jt != nodes.end(); ++jt)
{
if (&(*jt) == input)
{
nodes.erase(jt);
break;
}
}
inputs.erase(it);
}