1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

fix(rbo,rules): MCOL-6131 predicate pushdown rule for RBO.

This commit is contained in:
drrtuy
2025-08-07 17:26:13 +00:00
committed by Leonid Fedorov
parent 1341d282ad
commit 67ac7f2f75
6 changed files with 294 additions and 218 deletions

View File

@@ -7474,12 +7474,11 @@ int cs_get_select_plan(ha_columnstore_select_handler* handler, THD* thd, SCSEP&
cerr << "-------------- EXECUTION PLAN END --------------\n" << endl;
}
// Derived table projection and filter optimization.
// Derived table projection list optimization.
derivedTableOptimization(&gwi, csep);
if (get_unstable_optimizer(thd))
{
optimizer::RBOptimizerContext ctx(gwi);
optimizer::RBOptimizerContext ctx(gwi, *thd);
bool csepWasOptimized = optimizer::optimizeCSEP(*csep, ctx);
if (csep->traceOn() && csepWasOptimized)
{