1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00
Commit Graph

6463 Commits

Author SHA1 Message Date
Sergei Golubchik
2acda95e0b match the rename in the handler rows_changed->rows_stats.updated 2024-05-22 22:32:51 +02:00
Roman Nozdrin
3046f7f952 fix(cmapi): handle an exception seen in CMAPI at RHEL 8 2024-05-21 16:19:30 +04:00
Timofey Turenko
0ce13d07a0 enable mariadb-backup Debian packaging and disable TTY for Docker exec in regression test 2024-05-16 17:17:41 +04:00
Susil Kumar Behera
a81afdaf5b fix(docker): Docker multinode provision script expects container names in the cli (#3173)
Co-authored-by: mariadb-SusilBehera <root@susil-centos7.c.columnstore-test.internal>
2024-05-10 17:19:30 +01:00
Serguey Zefirov
97220501ed Fixes MCOL-5700, Oracle mode test results
This changeset contains fixes in Oracle mode tests and for the
implementation of the CONCAT_ORACLE. Also, we harmonise our translation
process with the recent changes in the server.

Due to changed behavior of the server, some CREATE VIEW/EXPLAIN
statements' results begun to output unexpected results and need to be
fixed.

Also, concatenation operation's name also changed. This lead to disabled
func_concat_oracle test to be enabled to test it and it turned out that
our implementation of this function was broken and need to be fixed too.
2024-04-15 19:35:47 +03:00
drrtuy
c7caa4374f fix(aggregation, disk-based) MCOL-5691 distinct aggregate disk based (#3145)
* fix(aggregation, disk-based): MCOL-5689 this fixes disk-based distinct aggregation functions
Previously disk-based distinct aggregation functions produced incorrect results b/c there was no finalization applied for previous generations stored on disk.

*  fix(aggregation, disk-based): Fix disk-based COUNT(DISTINCT ...) queries. (Case 2). (Distinct & Multi-Distinct, Single- & Multi-Threaded).

* fix(aggregation, disk-based): Fix disk-based DISTINCT & GROUP BY queries. (Case 1). (Distinct & Multi-Distinct, Single- & Multi-Threaded).

---------

Co-authored-by: Theresa Hradilak <theresa.hradilak@gmail.com>
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2024-03-24 18:04:37 +03:00
Sergey Zefirov
982b0084db Use of newly introduced schema-based name resolution for (#3138) (#3139)
Oracle-compatible functions
Server changed the way to resolve functions' names and we need to adapt.
2024-03-12 15:21:53 +04:00
drrtuy
6a94e9fb9a Merge pull request #3135 from mariadb-corporation/stable-23.10.0.2
fix: back merge fixes from 23.10.0.2 release branch
2024-02-29 13:10:01 +02:00
Allen Herrera
c33d10df66 mcs_backup_manager rename -vs-ssl to -nv-ssl 2024-02-16 21:24:50 +03:00
Allen Herrera
7dcca49c32 added short hand versions of some variables and small fixes to parameter naming - vs _ 2024-02-16 21:24:50 +03:00
Roman Nozdrin
1ee768d0b6 Bump VERSION to 23.10.1-1 vcolumnstore-23.10.1-1 2024-02-14 17:24:37 +00:00
Leonid Fedorov
9a9b5f8036 fix(join,threadpool): MCOL-5565: MCOL-5636: MCOL-5645: port from develop-23.02 to [stable-23.10] (#3127)
* fix(threadpool): MCOL-5565 queries stuck in FairThreadScheduler. (#3100)

Meta Primitive Jobs, .e.g ADD_JOINER, LAST_JOINER stuck
	in Fair scheduler without out-of-band scheduler. Add OOB
	scheduler back to remedy the issue.

* fix(messageqcpp): MCOL-5636 same node communication crashes transmiting PP errors to EM b/c error messaging leveraged socket that was a nullptr. (#3106)

* fix(threadpool): MCOL-5645 errenous threadpool Job ctor implictly sets socket shared_ptr to nullptr causing sigabrt when threadpool returns an error (#3125)

---------

Co-authored-by: drrtuy <roman.nozdrin@mariadb.com>
2024-02-14 14:56:07 +03:00
Denis Khalikov
2f29e22ba0 fix(DEC): MCOL-5637 Initialize a new bytestream before write to PS (#3118) 2024-02-09 22:27:54 +03:00
Alan Mologorsky
21c77840cb fix(cmapi, interpreter): MCOL-5650: CMAPI python3 binary crash.[DUPLICATE] (#3123)
[fix] python prebuilded interpreter to interpreter without AVX512 instructions
2024-02-09 22:20:21 +03:00
Alan Mologorsky
6077241f5b Updated mcs_backup_manager.sh + test500 [DUPLICATE TO STABLE] (#3115)
* added first backup restore test

* updated columnstore_backup.sh -> mcs_backup_manager.sh

* add bsl license to mcs_backup_manager.sh + skip removing locks when poll_wait fails

* mcs_backup_manager.sh - typo in comments of bsl license

* update mcs_backup_manager.sh - add ubuntu/debian support

* update to latest version of mcs backup manager with PR comments addressed

* added comments to functions for next release

---------

Co-authored-by: Allen Herrera <allen.herrera@mariadb.com>
2024-01-30 15:55:56 +04:00
Leonid Fedorov
27a2142de3 remove boost from deps, add procsps, due without ps installation halts 2024-01-09 12:37:18 +03:00
Leonid Fedorov
d0f657b01f compilation fix for gcc12 on known gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 2024-01-04 11:40:56 +03:00
Leonid Fedorov
cbf6eff94d Update boost to 1.84 2024-01-04 11:40:56 +03:00
mariadb-AlanMologorsky
e362c7ceea MCOL-5630: fix multi node MTR. Typer dependency bump version.
- [fix] requirements.txt to bump typer and indirect dependencies versions
2024-01-02 12:15:00 +03:00
mariadb-AlanMologorsky
d3a82e6e08 MCOL-5630: fix multi node MTR. Add "cmapi is-ready" cli command.
This task is a next logical part of MCOL-5470 that implements AppManager and API endpoint
to check if CMAPI ready or not.

- [add] cmapi_app.py with is-ready command implementation
- [fix] add cmapi is-ready command to main typer app
2024-01-02 12:15:00 +03:00
Leonid Fedorov
d8aa57044c MCOL-5624: dont force columnstore_use_import_for_batchinsert option to be required to start mariadb server (#3087) 2023-12-27 16:32:24 +03:00
Denis Khalikov
14882dd617 feat(brm): MCOL-5623 This patch changes the logic applied to save function for EM (#3080) 2023-12-27 09:47:58 +03:00
Denis Khalikov
575852d2e0 feat(brm): MCOL-5631 Optimize BRM load operation. (#3090) 2023-12-27 09:45:11 +03:00
Alan Mologorsky
14e936976d MCOL-5610: Aliases on internally dependent tools. (#3026)
[add] mcs_aws and mcs_gsutil template files
[fix] cmapi CMakeLists to add mcs_aws and mcs_gsutil tools to usr/bin folder
2023-12-26 17:01:30 +03:00
Denis Khalikov
55ffacf546 MCOL-5555 Add support for startreadonly command. (#3081)
This patch adds support for `startreadonly` command which waits
until all active cpimport jobs are done and then puts controller node to readonly
mode.
2023-12-26 15:11:33 +04:00
Leonid Fedorov
0c6876d8e4 perf(primproc) MCOL-5601: Initilize two fields once in ctor instead of calling makeConfig
std::string fTmpDir = config::Config::makeConfig()->getTempFileDir(config::Config::TempDirPurpose::Aggregates);
std::string fCompStr = config::Config::makeConfig()->getConfig("RowAggregation", "Compression");
2023-12-21 18:19:17 +03:00
Denis Khalikov
6315546557 Revert "MCOL-5555 Add support for startreadonly command."
This reverts commit 441cd9d34f.
2023-12-20 01:05:37 +03:00
Denis Khalikov
041eb2ec8a fix(disk-based-join): MCOL-5626 Fix for race in DJS with outer join. 2023-12-18 17:24:27 +03:00
Leonid Fedorov
a8f7777951 fix(linkage) link libm to libmarias3 2023-12-18 17:18:53 +03:00
Leonid Fedorov
97abd9866b fix(writeengine) MCOL-4202: use schema name when renaming table and change it's fields in syscat 2023-12-18 09:59:44 +03:00
Serguey Zefirov
a9ab71e675 MCOL-5625: Fixes json_query implementation
Also extends func_json_value.test.
2023-12-13 16:15:26 +03:00
Leonid Fedorov
bc88cd05b3 fix dependency on upgrade logs 2023-12-08 22:56:17 +03:00
Leonid Fedorov
b62636a6ab fix mtr according server updates 2023-12-07 00:29:47 +03:00
drrtuy
1d416bc6ed fix(DEC): MCOL-5602 fixing potentially endless loop in DEC (#3049) 2023-12-05 18:39:24 +03:00
drrtuy
63b032e3fd fix(rowstorage): SplitMix64 PRNG implementation to replace stdlib MT PRNG that uses /dev/urandom guarded by spinlock (#3050) 2023-12-05 18:30:31 +03:00
Denis Khalikov
58e18eeb56 fix(aggregation): MCOL-5467 Add support for duplicate expressions in group by. (#3052)
This patch adds support for duplicate expressions (builtin_functions) with
one argument in select statement and group by statement.
2023-12-05 18:29:44 +03:00
Sergey Zefirov
71f6a39078 fix(logging): Fixes MCOL-5599 where LIKE operator never finishes (#3048)
This is a fix of logging subsystem, nothing else.

The old code expanded an argument into string and advanced too little
and, if expansion contained argument's index, it expanded it again. And
again.
2023-12-03 20:17:43 +03:00
Serguey Zefirov
ab1a3fe471 Same columns fom diffeernt views in GROUP BY do not produce errors
Fixes MCOL-5643.

The problem was that different views with same column names in GROUP BY
and on the SELECT clause produced an error about "projection column is
not an aggergate neither in GROUP BY list."

This was due to incorrect search in expressions's list that lead to
duplicate columns in GROUP BY list.
2023-11-30 01:42:41 +04:00
Serguey Zefirov
9e37ab82d8 MCOL-5607: JSON function use crashes query execution
JSON functions were implemented violating an assumption of their
pureness, as they should not have any state. This concrete patch
fixes implementation of JSON_VALUE function.
2023-11-30 01:40:36 +04:00
drrtuy
aa0cf1399b fix(build): MCOL-5612 const func pointer assignement must happen after func definition to satisfy modern compilers static analyzer (#3039)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2023-11-29 19:34:10 +03:00
drrtuy
cbbffb63f4 fix(cmake): raise cmake version to satisfy all the requirements for the current cmake code (#3037)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2023-11-29 19:33:49 +03:00
Leonid Fedorov
104b4d6fcf Port last changes for bootstrap from develop 2023-11-29 20:12:59 +04:00
Leonid Fedorov
466580cc9c chore(ci) Centos7 packaging: Very hard bug with not matching
MariaDB-shared-10.1-kvm-rpm-centos74-amd64.rpm
MariaDB-shared-5.3-amd64.rpm
to
FILE(GLOB compat53 RELATIVE ${CMAKE_SOURCE_DIR}
    "${CMAKE_SOURCE_DIR}/../MariaDB-shared-5.3.*.rpm")
FILE(GLOB compat101 RELATIVE ${CMAKE_SOURCE_DIR}
    "${CMAKE_SOURCE_DIR}/../MariaDB-shared-10.1.*.rpm")

files renamed to
MariaDB-shared-10.1.kvm-rpm-centos74-amd64.rpm'
MariaDB-shared-5.3.amd64.rpm'

(dash changed to dot after numbers)
to match uncontrollable glob in the server code

Added server 10.6.14-9 for upgrade testing
2023-11-29 20:12:59 +04:00
Leonid Fedorov
2ae171f96c chore(ci) refactor reports from tests stage, add it to upgrade 2023-11-29 20:12:59 +04:00
Leonid Fedorov
79ad7fd01f chore(ci) allow nightly execution for stable 2023-11-29 01:59:41 +04:00
Denis Khalikov
2b01ab1b15 fix(primproc,stringstore): MCOL-5597 Set length for nullptr string to 0. (#3034) 2023-11-23 15:37:37 +03:00
drrtuy
276d7d330a fix(git): rename doc file names is to fix git clone on Windows 2023-11-15 00:20:09 +03:00
drrtuy
15fc0328c6 fix(git): rename doc file names is to fix git clone on Windows vcolumnstore-23.10.0-2 2023-11-03 19:26:19 +03:00
Roman Nozdrin
c22757cd37 chore(docs): rename the doc that affects git clone on Windows 2023-11-03 19:22:25 +03:00
mariadb-AlanMologorsky
2ccfc149c6 MCOL-5595: Wrong metadata in CMAPI packages.
[fix] cmapi packages metadata version format for debian systems and version + release in RHEL systems
2023-10-27 05:34:54 +03:00