Aleksei Bukhalov
17035ab990
Revert "fix(plugin): MCOL 5675 - fix error message for null-safe equal ( #3754 )"
...
This reverts commit 45fecde902 .
2025-10-23 14:14:01 +02:00
Kristina Pavlova
45fecde902
fix(plugin): MCOL 5675 - fix error message for null-safe equal ( #3754 )
2025-10-21 14:03:54 +01: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
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
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
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
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
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
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
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
fa76344cfc
chore(rbo): simplistic rulle application logging.
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
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
drrtuy
f881bae496
chore(rbo,rules): fixes to compile MCS with ES 10.6
2025-07-21 12:54:07 +01:00
drrtuy
a01c883e07
feat(rbo,rules): mock Histogram for ES < 11.4
2025-07-21 12:54:07 +01:00
drrtuy
e600f11aa9
feat(rbo,rules): use EI statistics for filter ranges
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
dfddfedfe5
feat(optimizer): collect EI statistics for a first column in existing tables indexes
2025-07-21 12:54:07 +01:00
drrtuy
70547c7358
chore(plugin): translator walks are now in separate units
2025-06-27 17:38:33 +04:00
drrtuy
e57832ee64
feat(optimizer): temporary shield optimizer with a session variable
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
drrtuy
e07e85b750
feat(optimizer): into derived CSEP rewrite with hardcoded tables
2025-06-26 18:35:33 +01:00
drrtuy
1baaf878d0
feat(optimizer): basic rewrite Union unit into Sub with union
2025-06-26 18:35:33 +01:00
drrtuy
021a95c683
feat(optimizer): rewrite rule refactoring
2025-06-26 18:35:33 +01:00
drrtuy
e73e5834ab
feat(optimizer): first cut for rewrite foreign table into UNION rule
2025-06-26 18:35:33 +01:00
drrtuy
79008f4f69
feat(CSEP): CSEP printer with indentations to simplify reading + rewriter skeleton + some test binary to describe minimalistic CSEP localy
2025-06-26 18:35:33 +01:00
Serguey Zefirov
3a91cded27
chore(MCOL-6018) Fix incorrect Field_decimal cast
...
This is a fix of a problem found by UBSAN. MDB changed default type to
represent a decimal result, C-style cast did not do proper type checking
and this one-liner fixes that. Now we will have an assertion if type
changes again.
2025-06-26 19:41:58 +04:00
drrtuy
44d1698639
chore(plugin): move having and group by into separate routines
2025-06-02 12:11:41 +01:00
drrtuy
600f10c259
chore(plugin): move order by processing
2025-06-02 12:11:41 +01:00
drrtuy
bb13688ccf
chore(plugin): move projection processing into a separate part.
2025-06-02 12:11:41 +01:00