Aleksei Antipovskii
3cf5792779
fix(build): fix compilation issue with 11.08-server
2025-10-09 19:01:45 +04:00
Leonid Fedorov
2740cbec7b
fix(plugin,leak): One more memory leak in plugin ( #3805 )
2025-10-02 11:44:51 +01:00
Leonid Fedorov
111d169e40
fix(crash): Debug build of columnstore crashed on asserts with 11.8 ( #3800 )
...
due this wonderful code
DBUG_ASSERT(!comment || !comment[0] || comment[strlen(comment)-1] != '.');
DBUG_ASSERT(!comment || !comment[0] || comment[strlen(comment)-1] != ' ');
So I had to fix the comments
2025-09-30 18:54:17 +04:00
Serguey Zefirov
a9f23729a9
feat(MCOL-6082) Cluster with read-only nodes should correctly work with DML
...
This patch changes logic from counting all nodes to counting only
read-write nodes when messaging about DML operations.
feat(MCOL-6082): Multiple readers of dbroots using OamCache logic
This patch introduces centralized logic of selecting what dbroot is
accessible in PrimProc on what node. The logic is in OamCache for time
being and can be moved later.
Fix build
2025-09-26 21:55:10 +04:00
mariadb-KristinaPavlova
b01be6ae2d
fix: MCOL-5778 sum return null value due to nullif function
2025-09-24 19:21:25 +04:00
Aleksei Antipovskii
5ffc688c26
fix(plugin): MCOL-6029 use the right field from the rows_stats struct for inserts
2025-09-19 12:01:49 +04:00
drrtuy
3d6e2a6bd7
chore(QA): added MTR tests for TPC-H, removed printouts and added a doc on the feature.
2025-09-11 18:35:38 +01:00
drrtuy
3f88085360
chore(udf): rename mcsgetplan.
2025-09-11 18:35:38 +01:00
drrtuy
0bf8241e3c
fix(rbo,QA): add merge statistics into IN and Scalar subquery.
2025-09-09 19:55:39 +04:00
drrtuy
71035c1002
fix(plugin): fix QA extract statistics stub signature to fix 10.6 compilation.
2025-09-08 15:52:15 +00:00
drrtuy
b73c245ecc
fix(rbo,QA): removed duplicated symbols
2025-09-08 15:20:31 +00:00
drrtuy
d981f96b2a
Merge branch 'stable-23.10' into feat/MCOL-6072-parallel-scan-4-CES-4
2025-09-08 15:16:52 +00:00
Aleksei Antipovskii
76f135b2ac
Code cleanup and deduplication
2025-09-05 17:07:21 +04:00
Aleksei Antipovskii
378f964cca
Fix queries like (SELECT * FROM t ORDER BY 1) UNION (SELECT ...)
2025-09-05 17:07:21 +04:00
Aleksei Antipovskii
3a316181e7
feat(joblist): MCOL-5756 MCOL-5222 ORDER BY on UNIONs in outer select
2025-09-05 17:07:21 +04:00
drrtuy
ed2c89196b
Merge branch 'stable-23.10' into feat/MCOL-6072-parallel-scan-4-CES-4
2025-09-04 15:47:40 +00:00
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
6e464bcd18
fix(crash, plugin), chore(ci): catch missed exception, set FE identity, install dgb_symbols
2025-09-02 00:36:33 +04: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