You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
feat(optimizer): basic rewrite Union unit into Sub with union
This commit is contained in:
@@ -282,9 +282,13 @@ string CalpontSelectExecutionPlan::toString(const size_t ident) const
|
||||
output << ">>Filters" << endlWithIndent(ident);
|
||||
|
||||
if (filters() != nullptr)
|
||||
{
|
||||
filters()->walk(ParseTree::print, output);
|
||||
}
|
||||
else
|
||||
{
|
||||
output << "empty filter tree" << endlWithIndent(ident);
|
||||
}
|
||||
|
||||
// Group by columns
|
||||
const CalpontSelectExecutionPlan::GroupByColumnList& gbc = groupByCols();
|
||||
@@ -913,8 +917,8 @@ execplan::SCSEP CalpontSelectExecutionPlan::cloneWORecursiveSelects()
|
||||
newPlan->returnedCols(newReturnedCols);
|
||||
|
||||
// Deep copy of filters
|
||||
// if (fFilters)
|
||||
// newPlan->filters(new ParseTree(*fFilters));
|
||||
if (fFilters)
|
||||
newPlan->filters(new ParseTree(*fFilters));
|
||||
|
||||
// Deep copy of filter token list
|
||||
newPlan->filterTokenList(fFilterTokenList);
|
||||
|
Reference in New Issue
Block a user