mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Delete filterPushDown.cpp
This commit is contained in:
parent
00d5d28ddf
commit
e0a806c180
@ -1,22 +0,0 @@
|
||||
#include <Processors/QueryPlan/Optimizations/Optimizations.h>
|
||||
#include <Processors/QueryPlan/FilterStep.h>
|
||||
|
||||
namespace DB::QueryPlanOptimizations
|
||||
{
|
||||
|
||||
size_t tryPushDownLimit(QueryPlan::Node * node, QueryPlan::Nodes &)
|
||||
{
|
||||
auto * filter_step = typeid_cast<FilterStep *>(node->step.get());
|
||||
if (!filter_step)
|
||||
return 0;
|
||||
|
||||
QueryPlan::Node * child_node = node->children.front();
|
||||
auto & child = child_node->step;
|
||||
|
||||
if (const auto * adding_const_column = typeid_cast<const AddingConstColumnStep *>(child.get()))
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user