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

6646 Commits

Author SHA1 Message Date
mariadb-RomanNavrotskiy
341fe32800 #MCOL-5261 enable mtr for all arm64 platforms 2022-10-15 08:36:05 +05:00
Gagan Goel
8a9b6b32e7 MCOL-5000 Disable ALTER TABLE statement execution on replicas.
Exit early from the plugin execution of ALTER TABLE statements
on the replica nodes. This is to prevent re-execution of syscat
table population from the replica nodes which should only be
executed once by the primary node in a CS cluster setup.
2022-10-14 17:20:55 +00:00
Roman Nozdrin
878a8ab857 Compilation error fixes for the recent updates in container images 2022-10-14 17:53:48 +03:00
Roman Nozdrin
e7fb790515 Merge pull request #2583 from mariadb-corporation/columnstore-22.08.2-1
Update Version to 22.08.2-1
2022-10-12 20:03:05 +03:00
Roman Nozdrin
b26c904115 Merge pull request #2560 from drrtuy/change_mask_arm_neon2
Unified AUX column scanning at ARM and x86 to re-enable vectorization at ARM.
2022-10-12 14:32:07 +03:00
Denis Khalikov
e299a8409d MCOL-5191 Add MCV statistics.
This patch adds:
1. Initial version of random sampling.
2. Initial version of MCV statistics.
2022-10-09 22:26:40 +03:00
Roman Nozdrin
9d774c1d95 Merge pull request #2581 from mariadb-corporation/shm
ci: shm size 500m for regression tests
2022-10-07 22:44:49 +03:00
mariadb-RomanNavrotskiy
36b540cd59 ci: shm size 500m for regression tests 2022-10-07 21:05:37 +05:00
NTH19
7d76dc4534 AUX column scan(MCOL-5021) effectively disables vectorized scanning on
ARM platforms. This patch resolves this issue and unifies AUX column
processing at x86 and ARM using tempate class SimdProcessor.
The patch also replaces uint16_t mask previously used in column.cpp and
SimProcessor code with a native masks that platform uses, e.g. __m128i
or __m128 on x86 and variety of masks on ARM.
To unify the processing I introduced a new filtering Compare Operator - COMPARE_NULLEQ.
with a 'c1 IS NULL semantics'.
2022-10-07 10:32:54 +00:00
mariadb-KirillPerov
85a6121f76 Mtrfix kp 220926 (#2580)
* Update mcol_2000.test

* Update mcs117_create_utf8.test

* Update mcs12_alter_table.test

* Update mcs13_alter_table_negative.test

* Update mcs169_bin_functions.test

* Update mcs171_null_functions.test

* Update mcs173_coalesce_function.test

* Update mcs174_case_function.test

* Update mcs175_convert_functions.test

* Update mcs176_if_function.test

* Update mcs178_adddate_function.test

* Update mcs179_addtime_function.test

* Update mcs180_ascii_function.test

* Update mcs181_between_and.test

* Update mcs182_char_length_function.test

* Update mcs183_date_function.test

* Update mcs184_day_function.test

* Update mcs185_dayname_function.test

* Update mcs186_dayofyear_function.test

* Update mcs187_dayofmonth_function.test

* Update mcs1_create_table_data_types.test

* Update mcs19_grant_revoke.test

* Update mcs229_data_compression_type.test

* Update mcs28_load_data_local_infile.test

* Update mcs2_create_table_valid_names.test

* Update mcs5_create_table_from_other_tables.test

* Update mcs74_check_constraint.test

* Update mcs7_create_table_with_metadata.test

* Update mcs87_alter_column.test

* Update mcs8_create_table_with_constraints.test

* Update disabled.def

* Update mcs19_grant_revoke.test

* Update mcs19_grant_revoke.test

* Update mcs19_grant_revoke.test
2022-10-07 11:36:29 +03:00
Daniel Lee
2606c91afd Dlee 22.08.2 updates (#2578)
* Sort test result so the test case would pass

* Server message has been changes

* Added schema name in query for rows in test case only.  Also use lower case schema name

* Changed database to lower case

* Run test case in its own database to avoid table already exists error

Co-authored-by: root <root@rocky8.localdomain>
2022-10-05 16:56:57 -05:00
Andrey Piskunov
f6aa95857c Adjusting autopilot test results for MCOL-5188 (#2579) 2022-10-05 11:07:58 -05:00
David.Hall
80de2f1d26 Update Version to 22.08.2-1 v-columnstore-22.08.2-1 2022-10-03 12:56:50 -05:00
mariadb-AndreyPiskunov
5ea84cbb3b Enable regression tests on arm 2022-09-30 21:28:04 +03:00
mariadb-AndreyPiskunov
ae162c3e24 Custom build 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
c3426dbd69 Explicit cast of INT_MIN/MAX to double 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
07a7130e2a Explicit cast to long 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
5b166a9577 Fix truncate and round for char types 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
06fa57966b Fix typo 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
680633a350 Fix another 0 count error in dropValue 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
e7cab8445c Fix the 0 count problem 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
80a2d8e9f5 Add tests for window functions 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
14810d87ba Put Welford's online algorithm everywhere 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
14b976991b Remade dropValue 2022-09-30 18:26:37 +03:00
mariadb-AndreyPiskunov
6ffa0000da Online algorithm for regr_sxy 2022-09-30 18:26:37 +03:00
benthompson15
4630db9206 MCOL-5177: Error handling for HTTP 301 response from AWS S3. (#2570) 2022-09-27 11:49:20 -05:00
Roman Nozdrin
0a1ae054c9 Merge pull request #2576 from mariadb-corporation/task/MCOL-5218
MCOL-5218: Additional fix to mcs-loadbrm and mcs-savebrm + postinstall.
2022-09-26 19:37:23 +03:00
mariadb-AlanMologorsky
0ee1d94f71 MCOL-5218: Additional fix to mcs-loadbrm and mcs-savebrm + postinstall.
[fix] bug in detecting primary.
[fix] minor bugs.
[add] not getting meta on secondaries if no cmapi available on primary node.
[fix] postinstall script to mask mariadb-columnstore service on multinode configurations.
2022-09-23 22:01:16 +03:00
Roman Nozdrin
f8cc3d885d Merge pull request #2564 from mariadb-AlexeyAntipovsky/MCOL-5213-dev
[MCOL-5213] Fix a rare IO error
2022-09-23 11:51:45 +03:00
Roman Nozdrin
b73c721e96 Merge pull request #2565 from mariadb-corporation/task/MCOL-5218
MCOL-5218: Fix mcs-loadbrm service start while reisntall.
2022-09-23 11:41:02 +03:00
mariadb-AlanMologorsky
70c850ca71 MCOL-5218: Fix mcs-loadbrm nd mcs-savebrm service run while reisntall.
Removed "requests" external python dependency to keep working with preinstalled python3.
Add fallback to detect primary if CMAPI is unreachable with hostname resolving.
Fix various minor python code styling.

f
2022-09-23 04:11:36 +03:00
benthompson15
e7ec896347 Standalone engine build fails on linking (#2561) 2022-09-19 17:17:52 -05:00
Leonid Fedorov
58f96ac9ae Sanitizers are not ready for all Distros 2022-09-19 19:26:17 +03:00
benthompson15
a975603fd9 Merge pull request #2567 from mariadb-corporation/storagemanager-u
Fixing some test for StorageManagerm commenting all broken rest
2022-09-19 11:09:04 -05:00
Leonid Fedorov
51a04ba960 Fixing some test for StorageManagerm commenting all broken rest 2022-09-16 18:51:10 +00:00
Gagan Goel
ef4c9311f3 Merge pull request #2528 from cakebytheoceanLuo/MCOL-4590
MCOL-4590 UNION Performance Improvement with the focus on the normalize functions.
2022-09-14 12:46:21 -04:00
Alexey Antipovsky
440101dfff [MCOL-5213] Fix a rare IO error 2022-09-14 17:12:15 +03:00
Gagan Goel
1bef5da109 Merge pull request #2526 from cakebytheoceanLuo/MCOL-5205-union-type
MCOL-5205 Fix bug from union type in UNION processing
2022-09-13 18:55:35 -04:00
Jigao Luo
6c4af1461f [MCOL-5205] Fix bug from union type in UNION processing.
This patch fixs the reported JIRA issue MCOL 5205, which consists of a wrong union type from two input Int types. The bug results in wrong unioned answers in CS. The fix includes more INT case discussions. Additionaly, this patch provides detailed unit tests for correctness in UNION processing with Int.

Signed-off-by: Jigao Luo <luojigao@outlook.com>
2022-09-09 22:54:35 +02:00
Jigao Luo
7f97a66184 [MCOL-4590] UNION Performance Improvement with the focus on the normalize functions.
This patch improves the runtime performance of UNION processing in CS, as reported JIRA issue MCOL 4590. The idea of the optimization is to infer the normalize seperate functions beforehand and perform the normalization individually later, instead of a huge switch body of all normalization. This patch also cover engineering optimization, removing the hotspots in UNION processing. After application of this patch, the normalize part takes only about 25% of the whole UNION query in our experiment avg case.

Signed-off-by: Jigao Luo <luojigao@outlook.com>
2022-09-09 22:49:18 +02:00
Daniel Lee
e000236af7 Dlee json update (#2558)
* JSON functions have been implemented.  Updated MTR test cases
2022-09-07 13:42:29 -05:00
benthompson15
fdff42f750 Merge pull request #2559 from dhall-MariaDB/CMakeFixup
Fix up cmake to build out of band
2022-09-07 13:08:36 -05:00
david.hall
28a12eda82 Fix up CmakeLists.txt
A better way to fix the dependencies
2022-09-06 16:15:07 -05:00
david.hall
bcaf867731 Fix up cmake to build out of band
The main CmakeLists.txt was using MY_CHECK_AND_SET_COMPILER_FLAG before the include. This works in-band with server because it was already included in server's CmakeLists.txt.
dbcon/mysql included curl as a build dependency. We don't build curl. It's a lib dependency. Not sure why it works in-band. One wouldn't think it should.
2022-09-06 16:08:47 -05:00
root
075115eda6 This patch forces char to be signed b default at all platforms
ARM and x86 differ in their default char signedness, namely x86's
char is signed and ARM's char is not. This difference breaks at least
breaks calShowPartitionByValue() udf.
2022-09-05 18:23:50 +03:00
Roman Nozdrin
8cd3bbe41a VScode config to debug processes (#2552)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2022-09-01 16:31:31 +03:00
Roman Nozdrin
8a1b8ecdde Merge pull request #2553 from mariadb-corporation/cmake-version
cmake version set to 3.10
2022-09-01 16:10:12 +03:00
Leonid Fedorov
7e17d88254 cmake version set to 3.10 2022-09-01 16:03:29 +03:00
Roman Nozdrin
9ffc05748b This is an intermediate merge of the 22.08.01 release branch to pick
up ARM packaging/building changes
2022-09-01 07:59:28 +00:00
Roman Nozdrin
fcff53c341 Merge pull request #2550 from drrtuy/fix-jenkins-test-failure
This patch fixes nullptr dereferencing in the same node queue thread
2022-09-01 10:54:06 +03:00