1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +03:00
Commit Graph

6318 Commits

Author SHA1 Message Date
fa8631c6cb match the rename in the handler rows_changed->rows_stats.updated 2024-08-06 18:18:37 +04:00
f62ef0041c fix(joblist,sorting): columnstore_orderby_threads for subquery (#3079) 2024-07-31 14:50:18 +01:00
70a7a01941 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.
2024-07-31 16:33:34 +04:00
f7ff055808 Added more tests 2024-07-30 23:13:38 +04:00
5f9ccfa8a1 fix(mcol-4499): Correct handling of LIKE/NOT LIKE NULL 2024-07-30 23:13:38 +04:00
7bec46e685 Merge pull request #3177 from mariadb-corporation/u24
chore(build) add Ubuntu 24.04 to the CI
2024-07-30 18:46:02 +03:00
774ca69589 Merge branch 'develop' into u24 2024-07-30 18:29:23 +04:00
1d25cf3afd chore(codestyle): MCOL-5405: repace windows CRLF with virtious linux one 2024-07-26 18:01:35 +04:00
323c8822d5 MCOL-5587: Fix columnstore.cnf.
fix(client): Fix columnstore.cnf file

This fix changes option file to apply '--quick' option only for 'mariadb' and 'mysql' clients instead of all MariaDB clients.
Otherwise 'mysqladmin' uses this option, but it doesn't exist. As a result broken CI multinode MTR stage.
2024-07-26 17:16:31 +04:00
e7c1582910 fix(mcs-savebrm): replace debug with error to put mcs-savebrm.py log messages in order 2024-07-25 21:05:43 +04:00
687aa463af fix!(cmapi): MCOL-5454: Self-signed certificate autorenew. (#3213)
[add] managers/certificate.py with CertificateManger class
[mv] creating self-signed certificate logic into CertificateManger class
[add] renew and days_before_expire methods to CertificateManger class
[mv] several certificate dependent constants to managers/certificate.py
[add] CherryPy BackgroundTask to invoke certificate check hourly (3600 secs)
[fix] tests
[fix] bug with txn timer clean (clean_txn_by_timeout, worker and invoking of it)
2024-07-21 05:25:32 +01:00
1964f4243c MCOL-5618: Fix action names in wrapper.
[fix] backup-dbrm -> dbrm_backup + restore-dbrm -> dbrm_restore
2024-07-19 12:06:12 +03:00
6e995e2e80 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.
2024-07-11 11:03:05 +03:00
f5089c7d80 fix(client): MCOL-5587: enable quick mode for predictable performance (#3240)
This changeset enables quick (mariadb -q) mode when columnstore is
installed. Quick mode precludes client CLI program from storing too
much data in memory, preventing out of memory conditions.
2024-07-07 13:52:21 +01:00
ffd7be2080 fix(build) Remove _GLIBXX flags for Columnstore debug builds 2024-07-04 23:46:47 +04:00
27722fe48c chore(build) add Ubuntu 24.04 to the CI 2024-07-04 12:25:58 +00:00
57e2375dbc fix(funcexp): MCOL-4671 Fix behaviour of LEFT/RIGHT functions when negative trim length value is passedB 2024-07-04 12:51:01 +04:00
37852e9234 Merge pull request #3235 from mariadb-corporation/centos-7-rip
chore(build) bury Centos7
2024-07-04 00:28:54 +03:00
c6487e3137 chore(build_) bury Centos7 2024-07-03 16:34:21 +00:00
a1e64d4cb0 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.
2024-07-01 16:25:44 +03:00
7b0a04270f MCOL-5618: Fix after testing
[add] -P to restore help in mcs_backup_restore.sh
[fix] -f argument default value in both backup and restore wrapper commands
[fix] -i argument behaviour and type + default value
[fix] -P argument position and help for both backup and restore wrapper commands
[fix] disable some pylint warning for both backup and restore wrapper files
2024-06-26 20:57:10 +03:00
7ec8f3df9a MCOL-5772: incorrect ORDER BY ordering for a columns not in GROUP BY (#3214)
When ORDER BY column is not in GROUP BY, is not an aggregate and there
is a SELECT column that is also not an aggregate, there was a problem:
ordering happened on the SELECTed column, not ORDERed one.

This patch fixes that particular problem and also performs some tidying
around newly added aggregate.
2024-06-25 16:10:27 +04:00
2444f96b11 Merge pull request #3202 from denis0x0D/MCOL-5708
MCOL-5708 Calculate precision and scale for constant decimal.
2024-06-24 11:16:58 +03:00
d2742b5a1b MCOL-5618: Fix packaging.
[mv] extra/cs_package_manager.sh -> cmapi/scripts/cs_package_manager.sh to pack and deliver the script with cmapi package
[add] cs_package_manager.sh to cmapi package
[fix] download paths for mcs_backup_manager.sh and cs_package_manager.sh
2024-06-21 05:47:13 +03:00
116711e9c1 fix(save-brm): MCOL-5709: Review fix. (#3207)
[fix] if file_path_prefix is None throwing TypeError
2024-06-20 10:50:22 +01:00
604282789c fix(bootstrap_mcs): check directory existence before cp (#3208) 2024-06-20 13:47:04 +04:00
4da9bcdccf feat(save_brm)!: MCOL-5709: protect from S3/NFS IO errors (#3206)
* feat(save_brm)!: protect from S3/NFS IO errors

* feat(save_brm)!: future refactoring

* cleanup

* feat(save_brm)!: forgotten template

* feat(save-brm,ci)!: python3 package for rocky8

---------

Co-authored-by: Roman Nozdrin <roman.nozdrin@mariadb.com>
2024-06-18 18:42:01 +01:00
0e17e14afb remove old file 2024-06-18 14:02:53 +03:00
3934819ce1 Intermediate commit to move changes from old filepath to the new one. 2024-06-18 14:02:53 +03:00
af7b14ab37 update to the latest mcs_backup_manager + cs_package_manager 2024-06-18 14:02:53 +03:00
1122b64cb1 MCOL-4234: improve GROUP BY and ORDER BY interaction (#3194)
This patch fixes the problem in MCOL-4234 and also generally improves
behavior of GROUP BY.

It does so by introducing a "dummy" aggregate and by wrapping columns
into it. This allows for columns that are not in GROUP BY to be used
more freely, for example, in SELECT * FROM tbl GROUP BY col - all
columns that are not "col" will be wrapped into an aggregate and query
will proceed to execution.

The dummy aggregate itself does nothing more than remember last value
passed into it.

There also an additional error message that tries to explain what types
of expressions can be wrapped into an aggregate.
2024-06-17 20:00:54 +03:00
b1045d27b6 fix(funcexp): MCOL-5237 Proper handle DATETIME column for "ifnull" function. (#3196) 2024-06-17 12:09:14 +01:00
113d9873a3 Containers memory limits for CI (#3108)
Limit test containers by memory, fix cgroup path inside the containers by introducing new ugly setting name 

---------

Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
2024-06-16 19:16:23 +04:00
f42411b6d1 MCOL-5618: Minor fixes to sync after PR #1398.
[add] -ssm argument for dbrm backup
[add] -sdbk -ssm arguments for dbrm restore
[add] silenece annoying pylint warning unused argument for bachup_commands.py and restore_commnads.py
2024-06-14 15:12:21 +03:00
ccb7ba5914 MCOL-5708 Calculate precision and scale for constant decimal.
This patch calculates precision and scale for constant decimal
value for SUM aggregation function.
2024-06-11 15:48:46 +00:00
e5722b0f02 MCOL-5618: Minor fixes to sync after #3147
[add] -r option for backup command
2024-06-07 17:53:01 +03:00
52f7d07766 MCOL-5618: Minor improvements to sync with PR 3144.
[add] -ns option for dbrm_restore.
2024-06-07 17:51:05 +03:00
a69d4c3a6c add comment to auto_select_most_recent_backup_for_incremental in mcs_backup_manager.sh 2024-06-07 09:06:14 +03:00
815b29b2ed resolved PR comments for cs_package_manager.sh & mcs_backup_manager.sh 2024-06-07 09:06:14 +03:00
331d578824 Added backup retention flag -r and incremental auto_most_recent option to mcs_backup_manager.sh 2024-06-07 09:06:14 +03:00
e235759dae added dbrm_restore for LocalStorage & S3 2024-06-07 09:06:14 +03:00
2f17c819a2 resolved PR comments for cs_package_manager.sh & mcs_backup_manager.sh 2024-06-07 07:20:25 +03:00
66996bec22 small comment cleanup 2024-06-07 07:20:25 +03:00
f005c1d99a added dbrm_restore for LocalStorage & S3 2024-06-07 07:20:25 +03:00
c70d206afe MCOL-5618: Testing fix + script minor fixes.
- [fix] wrong cooking of .sh invoke string
- [fix] restore_dbrm -> dbrm_restore, backup_dbrm -> dbrm_backup to use same naming in both python wrapper and mcs_backup_manager.sh
- [fix] mathod of checking cmapi online or not in mcs_backup_manager.sh
2024-06-07 06:44:49 +03:00
460826748f Add dependency on libxcrypt for Rocky/RHEL9 2024-05-28 15:47:29 +04:00
254ced25cf Review fixes 2024-05-23 00:01:34 +04:00
c17f24b90f MCOL-5352 Properly handle PP restart for DML/DDL operations. 2024-05-23 00:01:34 +04:00
e43472aedc fix(cmapi): handle an exception seen in CMAPI at RHEL 8 2024-05-21 16:17:03 +04:00
180e1f793f MCOL-5746 Cpimport: convert blob data from ascii hex when reads from STDIN 2024-05-17 19:30:40 +04:00