drrtuy
5368a45e05
chore(rbo,QA): fixed recursive application of the rule.
2025-08-19 18:48:15 +01:00
Leonid Fedorov
14fe4401bc
chore(rbo): MCOL-6143: Settle down rbo as a separate lib for Unittesting ( #3708 )
...
* fix builds
* MCOL-6143: rbo as a separate library
* Move get_unstable_optimizer out of rbo, move findStatisticsForATable to header bo be (dirty fix, but cuts the corner)
* Add some helpers to a headerfile for unittesting
* Simple unittests with some mocks
2025-08-15 12:28:28 +01:00
drrtuy
2f9fec8057
feat(rbo,rule,QA): fixed JOIN example works with QA for one leg of the JOIN.
2025-08-13 13:20:55 +00:00
drrtuy
578c2b1db1
chore(rbo,rules): fixed lost flag value result back propagation to resolve RBO logging and added recursive passes for projection list optimization.
2025-08-13 14:50:58 +04:00
drrtuy
fa76344cfc
chore(rbo): simplistic rulle application logging.
2025-08-13 14:50:58 +04:00
drrtuy
bbac8e70a1
feat(rbo,rules): rule matcher has been replaced with csep filter for a rule to relax rule filter predicates and endless loop has been fixed in pushdown predicates.
2025-08-13 14:50:58 +04:00
drrtuy
67ac7f2f75
fix(rbo,rules): MCOL-6131 predicate pushdown rule for RBO.
2025-08-13 14:50:58 +04:00
drrtuy
19fb5a89b7
chore(rbo,rules): separate the rule from common rbo code
2025-07-21 12:54:07 +01:00
drrtuy
15be33fbc5
feat(rbo,rules): refactored statistics storage in gwi and implemented statistics based UNION rewrite.
2025-07-21 12:54:07 +01:00
drrtuy
67295b4320
feat(optimizer,rules): use EI statistics for range filters
2025-07-21 12:54:07 +01:00
drrtuy
3f9ce7779e
feat(optimizer): PoC for EI stats retrieval in getSelectPlan()
2025-07-21 12:54:07 +01:00
drrtuy
e21200da19
feat(optimizer): stack-based filters walker
2025-07-21 12:54:07 +01:00
drrtuy
ef126c4319
feat(optimizer): add fixed bounds for TPC-H 1GB from regr
2025-07-21 12:54:07 +01:00
drrtuy
9da9144343
feat(optimizer): UNION units now have origin filters pushdown AND partition boundaries filters
2025-06-26 18:35:33 +01:00
drrtuy
8a2ae35918
chore(): review fixes
2025-06-26 18:35:33 +01:00
drrtuy
3bf4394456
feat(optimizer): rewrite rule does not descent into a freshly created UNION unit.
2025-06-26 18:35:33 +01:00
drrtuy
e57832ee64
feat(optimizer): temporary shield optimizer with a session variable
2025-06-26 18:35:33 +01:00
drrtuy
98cb6dddee
feat(optimizer): replace simple walk with iterative DFS with convergence
2025-06-26 18:35:33 +01:00
drrtuy
25c7d23c21
feat(optimizer): add session switch to optionally enable optimizer
2025-06-26 18:35:33 +01:00
drrtuy
ab6063bec4
feat(optimizer): moved related code into a separate unit
2025-06-26 18:35:33 +01:00