1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00
Commit Graph

6646 Commits

Author SHA1 Message Date
aleksei.bukhalov
feb919f2ad MCOL-5994 smoke step to bash scripts 2025-05-28 00:16:13 +04:00
Leonid Fedorov
b555cf605e chore(ci): test222 disabled temporary 2025-05-25 22:59:14 +04:00
Leonid Fedorov
e202f4b076 chore(build): reenter fixes 2025-05-23 18:21:56 +04:00
Leonid Fedorov
788f84d05d chore(build): alien flag to turn off Werror and proper graphs 2025-05-23 16:59:13 +04:00
drrtuy
806c3abc78 feat(BRM,oids): add a tool to reclaim OID space parts. (#3524)
* feat(BRM,oids): add a tool to reclaim OID space parts.


---------

Co-authored-by: = <=>
Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
Co-authored-by: Leonid Fedorov <79837786+mariadb-LeonidFedorov@users.noreply.github.com>
2025-05-23 05:53:09 +04:00
Leonid Fedorov
14ac14b35d The 10.6 server changed the name of the include.
ref: MariaDB/server@3a33ae8

Noticed thanks to @LinuxJedi
2025-05-23 05:37:06 +04:00
Leonid Fedorov
5814a80b50 MCOL-4671: MCOL-4622: fix the behavior of both PRs
first was playing different with RIGHT and LEFT functions(using the getUintVal and getIntVal accordingly)
https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/3234
second introduced round for ints from double, but added it to uint but not to int missing long doubles as well
https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/3480
2025-05-23 05:12:17 +04:00
Leonid Fedorov
842ec9dbff chore(build): fix duplicating hasRollup 2025-05-23 05:12:17 +04:00
Aleksei Antipovskii
221ccfd5b6 fix(dbcon): MCOL-4756: having not() provokes an ERROR 2013
The `NOT()` function in the HAVING clause was handled
    incorrectly, which caused the server to crash.
2025-05-23 05:12:17 +04:00
Leonid Fedorov
13b23e8510 chore(codestyle): MCOL-5405: repace windows CRLF with virtious linux one 2025-05-23 05:12:17 +04:00
Alexander Presnyakov
2e61c9909b Added more tests 2025-05-23 05:12:17 +04:00
Alexander Presnyakov
0b0dd27fda fix(mcol-4499): Correct handling of LIKE/NOT LIKE NULL 2025-05-23 05:12:17 +04:00
Serguey Zefirov
3bb2496ca1 fix: MCOL-5755: incorrect handling of BLOB (and TEXT) in GROUP BY
BLOB fields did not work as grouping keys at all, they were assigned
value NULL for any value, be it NULL or not. The fix is in the
rowaggregation.cpp in the initMapping(), a switch/case branch was added
to handle BLOB field copying there.

Also, TEXT columns did not distinguish between NULL and empty string in
the grouping algorithm, now they do. The fix is in the equals()
function, now we specifically check for isNull() equality between
values.
2025-05-23 05:12:17 +04:00
Alexander Presnyakov
6d1c6d8242 fix(funcexp): MCOL-4671 Fix behaviour of LEFT/RIGHT functions when negative trim length value is passedB 2025-05-23 05:12:17 +04:00
Leonid Fedorov
bfe49a8345 bug(priproc) make last_day type a bit more accurate
This fixes discrepance with the server, which assigns DATE type to
last_day()'s result.

Now we also assigns DATE result type and, also, use proper
dataconvert::Day data structure to return date.

Tests agree with InnoDB.

Also, this patch includes test for MCOL-5669, to show we fixed it.
2025-05-23 05:12:17 +04:00
Sergey Zefirov
ef451af860 feat(ddl): MCOL-5744: better handling of utf8 charset aliases (#3174)
Server expands ut8_XXX aliases to utf8mb3_XXX or utf8mb4_XXX depending
on the UTF8_IS_UTF8MB3 setting in the OLD_MODE environment variable.

Server already has the necessary code implemented in the get_utf8_flag()
method of class THD. There are several uses of this flag and all we have
to do to be in line with server is to use it.

This patch does that for DDL as work on MCOL-5705 uncovered some
problems in that area.
2025-05-23 05:12:17 +04:00
Denis Khalikov
3d2b329a2f fix(em): MCOL-5732 Add missing system OID to RebuildEM tool (#3168) 2025-05-23 05:12:17 +04:00
Sergey Zefirov
5f6080e09c fix(join): Fixes MCOL-5056, an error of joining TEXT column from InnoDB (#3160)
We incorrectly identified TEXT columns from external tables as BLOB.
Alexander Barkov suggested a way to discriminate them which I
implemented here.
2025-05-23 05:12:17 +04:00
Sergey Zefirov
11324c468d feat(primproc,aggregegation)!: Changes for ROLLUP with single-phase aggregation (#3025)
The fix is simple: enable subtotals in single-phase aggregation and
disable parallel processing when there are subtotals and aggregation is
single-phase.
2025-05-23 05:12:17 +04:00
Aleksei Antipovskii
0f202fb633 fix(plugin): MCOL-5703 fix server crash on 'UNION ALL VALUES' queries
Such queries are not supported by the ColumnStore anyway.
2025-05-23 05:12:17 +04:00
Aleksei Antipovskii
d02e2854ae Add test case 2025-05-23 05:12:17 +04:00
Leonid Fedorov
63b93c607d chore(ci): disable upgrade tests temporary 2025-05-23 01:52:29 +04:00
Leonid Fedorov
45ed833d72 delete server version dependency hack 2025-05-23 01:33:45 +04:00
Leonid Fedorov
f919c00479 fixing exec_program warning 2025-05-23 01:33:45 +04:00
Leonid Fedorov
d8a9617312 set only one config dir, as LAYOUT_STANDALONE works with the same one, forcing color
inside bootstrap
2025-05-23 01:33:45 +04:00
Leonid Fedorov
a359a8f7b8 chore(build): fix MDB SOURCE vs BUILD path usages, cmakeflags sortes 2025-05-23 01:33:45 +04:00
Leonid Fedorov
0359a1fd3a chore(server_support): fixes to build columnstore branch with server >= 11.5 2025-05-22 17:14:38 +04:00
Leonid Fedorov
1c8984fbf6 chore(build): mmap options to support TSAN build 2025-05-22 02:23:13 +04:00
Leonid Fedorov
37728081e1 chore(build): compile commands 2025-05-22 02:23:13 +04:00
Leonid Fedorov
bab4578118 bug(memory): add uint128_t specializations for Row::setBinaryField_offset and Row::setBinaryField as we have segfault woth ubsan build 2025-05-21 21:59:08 +04:00
Leonid Fedorov
10c2ce0dd5 chore(memory): fix dynamic stack buffer overflow 2025-05-21 21:59:08 +04:00
Leonid Fedorov
b65a5a1ef9 chore(build): turn off WError for ASAN builds as gcc STL has internal warnings last 3 years: https://gcc.gnu.org/bugzilla/show_bug.cgi\?id\=105562 2025-05-21 21:59:08 +04:00
Alexey Antipovsky
bd0f59910a feat(PrimProc): MCOL-5950 Improve disk-based aggregation finalization (#3525)
* feat(PrimProc): MCOL-5950 Improve disk-based aggregation finalization

    Iterate over the rows in the plain vector of RGData instead of
    iterating over the hashmap. This reduces the complexity and speeds
    up finalization (by up to the twice in the certain cases)

* replace magic constant with muggle constant
2025-05-21 10:53:48 +01:00
Leonid Fedorov
0dceaa318d patch boost (sic!) to fix warning 2025-05-20 21:43:43 +04:00
Leonid Fedorov
4a8f5830fd chore(build) update boost to 1.88 2025-05-20 21:43:43 +04:00
Leonid Fedorov
d09b7496e4 Revert "fix(MCOL-5386): Bitwise aggregation functions do not work with wide d…"
This reverts commit e0f3bf8322.
2025-05-20 19:17:05 +04:00
Leonid Fedorov
127dd09a7a fix back statics 2025-05-20 18:22:59 +04:00
Leonid Fedorov
6db2dc668f stubs and cmake formatting 2025-05-20 18:22:59 +04:00
Leonid Fedorov
2036e521c7 named linkage 2025-05-20 18:22:59 +04:00
Leonid Fedorov
71b5ca0b39 chore(build): add linkage helper function 2025-05-20 18:22:59 +04:00
drrtuy
af1864f544 feat(memory): custom OOM exception 2025-05-20 18:22:16 +04:00
drrtuy
e9973c46e4 feat(TNS): change ORDER BY out-of-memory error message. Replaced bad_alloc with IDBExcept in TNS. 2025-05-20 18:22:16 +04:00
Leonid Fedorov
25fd400288 Revert "chore(CI): remove publish pkg step, adding clickable link instead to publish steps, fix customenv" (#3548)
This reverts commit 09c10a0c34.
2025-05-20 06:37:15 +04:00
Leonid Fedorov
a1019b7c0e chore(build): refactor main CMakeLists.txt (#3543)
* chore(build): refactor main CMakeLists.txt

* chore(build): fix boost version for packages, set clang-20 only for amd and arm

* chore(build): boost 4 sm

* chore(build): boost dep for rowgroup

* chore(build): toolset for boost

* chore(build): suppress clang warnings for boost

* chore(ci, build): use ASAN for unittest on ubuntu 24.04 only, added custom cmake flag option for bootstrap, custom params for new and existing pipelines

* chore(build): sort bootstrap flags

* chore(CI): remove publish pkg step, adding clickable link instead to publish steps, fix customenv
2025-05-20 05:00:48 +04:00
Akhmad O.
e0f3bf8322 fix(MCOL-5386): Bitwise aggregation functions do not work with wide decimals (updated previous PR) (#3522)
* fix(MCOL-5386): Bitwise aggregation functions do not work with wide decimals (updated previous PR)

* MCOL-5386: Added test for Decimal(18)
2025-05-19 20:41:28 +01:00
Leonid Fedorov
a4b138625e default regression branch fixed 2025-05-15 19:05:38 +04:00
Leonid Fedorov
9f7b3d7acb clang-20 added 2025-05-15 19:05:38 +04:00
Leonid Fedorov
a871f0b820 chore(library): nlohmann::json updated to 3.12 2025-05-15 19:05:38 +04:00
Leonid Fedorov
16303bef2b chore(build): clang-20 warnings fixed 2025-05-15 19:05:38 +04:00
Leonid Fedorov
16a630f75d chore(ci) add custom build envs :clang-18, clang-19 2025-05-15 19:05:38 +04:00