1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

feat(optimizer): add session switch to optionally enable optimizer

This commit is contained in:
drrtuy
2025-06-16 13:26:11 +00:00
parent ab6063bec4
commit 25c7d23c21
4 changed files with 67 additions and 39 deletions

View File

@@ -31,10 +31,11 @@ struct Rule
std::string name;
bool (*matchRule)(execplan::CalpontSelectExecutionPlan&);
void (*applyRule)(execplan::CalpontSelectExecutionPlan&);
bool apply(execplan::CalpontSelectExecutionPlan& csep);
bool apply(execplan::CalpontSelectExecutionPlan& csep) const;
};
bool matchParallelCES(execplan::CalpontSelectExecutionPlan& csep);
void applyParallelCES(execplan::CalpontSelectExecutionPlan& csep);
bool optimizeCSEP(execplan::CalpontSelectExecutionPlan& root);
}