1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-02 06:13:16 +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

@@ -32,10 +32,11 @@ namespace optimizer {
class RBOptimizerContext {
public:
RBOptimizerContext() = delete;
RBOptimizerContext(cal_impl_if::gp_walk_info& walk_info) : gwi(walk_info) {}
RBOptimizerContext(cal_impl_if::gp_walk_info& walk_info, THD& thd) : gwi(walk_info), thd(thd) {}
// gwi lifetime should be longer than optimizer context.
// In plugin runtime this is always true.
cal_impl_if::gp_walk_info& gwi;
THD& thd;
uint64_t uniqueId {0};
};