You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-02 06:13:16 +03:00
chore(): resolution for compilation issues introduced by rebase.
This commit is contained in:
@@ -31,14 +31,13 @@ namespace optimizer
|
|||||||
|
|
||||||
using DerivedToFiltersMap = std::map<std::string, execplan::ParseTree*>;
|
using DerivedToFiltersMap = std::map<std::string, execplan::ParseTree*>;
|
||||||
|
|
||||||
bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep)
|
bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& /*ctx*/)
|
||||||
{
|
{
|
||||||
// The original rule match contains questionable decision to filter out
|
// The original rule match contains questionable decision to filter out
|
||||||
// queries that contains any UNION UNIT with only derived tables.
|
// queries that contains any UNION UNIT with only derived tables.
|
||||||
// See ha_from_sub.cpp before MCS 23.10.7 for more details and @bug6156.
|
// See ha_from_sub.cpp before MCS 23.10.7 for more details and @bug6156.
|
||||||
// All tables are derived thus nothing to optimize.
|
// All tables are derived thus nothing to optimize.
|
||||||
return !
|
return !csep.tableList().empty();
|
||||||
csep.tableList().empty();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,6 @@
|
|||||||
#include "rulebased_optimizer.h"
|
#include "rulebased_optimizer.h"
|
||||||
|
|
||||||
namespace optimizer {
|
namespace optimizer {
|
||||||
bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep);
|
bool predicatePushdownFilter(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& ctx);
|
||||||
bool applyPredicatePushdown(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& ctx);
|
bool applyPredicatePushdown(execplan::CalpontSelectExecutionPlan& csep, optimizer::RBOptimizerContext& ctx);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user