drrtuy
96fc875255
fix(rbo,rules,QA): ExistsFilter::transform merges statistics to enable QA for EXISTS expressions.
2025-09-03 09:25:10 +04:00
Leonid Fedorov
b92e5ae155
fix(review): cal* functions removed
2025-09-02 12:51:39 +01:00
Leonid Fedorov
0554ab3dd0
chore(format): apply clang-format
2025-09-02 12:51:39 +01:00
Leonid Fedorov
6ec363af70
MCOL-6145: mcsgetplan() UDF for CSEP printing
2025-09-02 12:51:39 +01:00
Leonid Fedorov
20dc485b92
Merge branch 'stable-23.10' into feat/MCOL-6072-parallel-scan-4-CES-4
2025-08-28 03:47:19 +04:00
Leonid Fedorov
9ed33c7e04
fix(leak): MCOL-6018: cleanup stacks on error again
2025-08-26 20:24:38 +04:00
Leonid Fedorov
67370721db
feat(rbo) parallel factor via session veriable
2025-08-22 12:58:52 +01:00
drrtuy
8962ec4830
Merge branch 'stable-23.10' into feat/MCOL-6072-parallel-scan-4-CES-4
2025-08-21 16:56:11 +00:00
Leonid Fedorov
50c8e91ae6
chore(rbo, codemanagement) MCOL-6143: move rbo to separate dir
2025-08-21 17:01:32 +04:00
drrtuy
8d802c076c
fix(rbo,rules,QA): add HAVING pass.
2025-08-21 04:03:13 +04:00
drrtuy
01e1ffc43e
feat(rbo,rules,QA): projection, GB, OB and filtering populate projection for the derived and UNION units to make tpch q1 work.
2025-08-21 04:03:13 +04:00
Leonid Fedorov
2c5043f2fe
feat(rbo): configfile and pron params can be used to turn off rbo rules selectively
2025-08-20 15:57:51 +04:00
Leonid Fedorov
9cde37345e
feat(rbo,rules,QA): Parallel rewrite now correctly handles NULLs in range filters by including OR IS NULL in the last union subquery range
2025-08-20 14:38:54 +04:00
mariadb-KristinaPavlova
74b5dc437e
change check for invalid args in pseudofunctions
2025-08-20 09:24:19 +01:00
mariadb-KristinaPavlova
c78a61d258
change check
2025-08-20 09:24:19 +01:00
mariadb-KristinaPavlova
25b83f1cca
add error and MTR test
2025-08-20 09:24:19 +01:00
mariadb-KristinaPavlova
011a1edabb
add solution only for the example
2025-08-20 09:24:19 +01:00
drrtuy
5368a45e05
chore(rbo,QA): fixed recursive application of the rule.
2025-08-19 18:48:15 +01:00
drrtuy
2fccfb5ffb
feat(rbo,rules,QA): AggregateColumn in projection and also GB/OB columns support.
2025-08-19 18:48:15 +01:00
drrtuy
f924f9430a
chore(rbo,rules,QA): refactor applyRule to facilitate patch cherry-pick.
2025-08-19 18:48:15 +01:00
Leonid Fedorov
56d04cb711
MCOL-6018: cleanup stacks on error
2025-08-18 15:47:06 +04: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
08d89fcef7
chore(rbo,rules): removed extra printouts.
2025-08-14 19:38:00 +04:00
drrtuy
80f81526eb
feat(rbo,rules,QA): replace monotonic counter with column_name->col_index map and added fields to activate existing filters pushdown machinery.
2025-08-14 19:38:00 +04:00
drrtuy
0c876e1ed4
feat(rbo,rules,QA): SC in upper layer filters are updated.
2025-08-14 19:38:00 +04:00
drrtuy
4cc1492b95
chore(): resolution for compilation issues introduced by rebase.
2025-08-13 14:46:14 +00:00
drrtuy
7ad42678d4
chore(QA): fixed compilation and preprocessor filtering macro.
2025-08-13 13:24:30 +00:00
drrtuy
877bd85d6a
chore(QA): removed commented code.
2025-08-13 13:24:30 +00:00
drrtuy
6c75faee88
chore(rbo,rules,QA): clone now does not copy OB, GB, HAVING and optionally filters.
2025-08-13 13:24:29 +00:00
drrtuy
c19c49ba13
chore(rbo,rules,QA): new extractColumnStatistics, some comments with a bit of re-factoring.
2025-08-13 13:20:57 +00:00
drrtuy
c030ff4224
feat(rbo,rules,QA): index column type is now derived from the corresponding Field
2025-08-13 13:20:57 +00:00
drrtuy
e167082497
feat(rbo,rules,QA): refactored statistics storage
2025-08-13 13:20:57 +00:00
drrtuy
112ba9f162
feat(rbo,rules,QA): changed to way statistics is collected
2025-08-13 13:20:57 +00:00
Leonid Fedorov
da09a1b5d0
Fix build with missing std::
2025-08-13 13:20:57 +00:00
drrtuy
bd219cc4af
feat(cbo,rules,QA): clean SC iface usage in various places
2025-08-13 13:20:57 +00:00
drrtuy
bd168834b1
feat(rbo,rules,QA): refactored last bound filter predicate
2025-08-13 13:20:57 +00:00
drrtuy
134235b2d2
feat(rbo,rules,QA): support expressions in RCs
2025-08-13 13:20:57 +00:00
drrtuy
b07ee73fb3
feat(rbo,rules,QA): filtered RC clone for UNION units.
2025-08-13 13:20:57 +00: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
a1ba7932cd
feat(rbo,rules,QA): the rule now uses target table to consider interesting keys available.
2025-08-13 13:12:31 +00:00
drrtuy
ebaa6cce5c
feat(rbo,rules): preparation to replace derived-based with table-based approach
2025-08-13 13:11:46 +00:00
drrtuy
595b1baad2
feat(rbo,rules): change rule matching part
2025-08-13 13:07:32 +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
209a9e5082
chore(plugin): get rid of SELECT_LEX copy asignment calls.
2025-08-06 23:42:02 +04:00
Leonid Fedorov
8a535e872c
Revert "Deep build refactoring phase 2 ( #3564 )" ( #3678 )
...
This reverts commit 449029a827 .
2025-08-01 02:56:31 +04:00
Leonid Fedorov
82421c208f
chore(ci): collect asan ubsan and libc++ build with mtr and regression status ignored ( #3672 )
...
* MSan added with fixes for libc++
* libc++ sepatare build
* add libc++ to ci
* libstdc++ in CI
* libcpp and msan to external projects
* std::sqrt
* awful_hack(ci): install whole llvm instead of libc++ in terrible way for test containers
* Adding ddeb packages for teststages and repos
* libc++ more for test container
* save some money on debug
* colored coredumps
* revert ci
* chore(ci): collect asan ubsan and libc++ build with mtr and regression status ignored
2025-07-31 00:32:32 +04:00
Sergey Zefirov
3418e68b78
fix(ddl): MCOL-5974 TIMESTAMP columns are not IS NOT NULL by default in MCS ( #3670 )
...
The old behavior was to assign TIMESTAMP columns an IS NOT NULL
constraint if list of constraints was empty. Apparently, this particular
invariant was changed in 11.4 and bugfixes' mcol-5480.test started to
fail.
This patch fixes behavioral difference and reenables mcol-5480 test in
11.4.
2025-07-27 20:06:40 +01:00