1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00
Commit Graph

6015 Commits

Author SHA1 Message Date
e7ec896347 Standalone engine build fails on linking (#2561) 2022-09-19 17:17:52 -05:00
58f96ac9ae Sanitizers are not ready for all Distros 2022-09-19 19:26:17 +03:00
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
51a04ba960 Fixing some test for StorageManagerm commenting all broken rest 2022-09-16 18:51:10 +00:00
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
440101dfff [MCOL-5213] Fix a rare IO error 2022-09-14 17:12:15 +03:00
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
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
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
e000236af7 Dlee json update (#2558)
* JSON functions have been implemented.  Updated MTR test cases
2022-09-07 13:42:29 -05:00
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
28a12eda82 Fix up CmakeLists.txt
A better way to fix the dependencies
2022-09-06 16:15:07 -05:00
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
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
8cd3bbe41a VScode config to debug processes (#2552)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2022-09-01 16:31:31 +03:00
8a1b8ecdde Merge pull request #2553 from mariadb-corporation/cmake-version
cmake version set to 3.10
2022-09-01 16:10:12 +03:00
7e17d88254 cmake version set to 3.10 2022-09-01 16:03:29 +03:00
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
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
09223cc2ce Merge pull request #2425 from Ziy1-Tan/MCOL-785-ziyi
MCOL-785 Implement DISTRIBUTED JSON functions
2022-08-31 22:56:43 +03:00
3df740d531 Merge pull request #2543 from NTH19/fix_benchmark
Fix micro benchmark
2022-08-31 22:43:17 +03:00
3acf57b0b6 Merge pull request #2549 from mariadb-corporation/green-arm
Green arm
2022-08-31 22:42:50 +03:00
20357dab8c This patch fixes nullptr dereferencing in the same node queue thread 2022-08-31 19:18:35 +00:00
eb57103c06 This patch fixes nullptr dereferencing in the same node queue thread 2022-08-31 18:55:48 +00:00
ad2b9d3474 debian: arm64 is supported 2022-08-31 16:39:37 +02:00
6e1c9c2eb1 Remove centos7 ARM and ignore regression on ARM for green builds 2022-08-31 15:28:36 +03:00
9ffe7c3e8f Merge pull request #2548 from mariadb-corporation/proper_boost_for_storage_manager
Proper external_boost for storage manager, cmake version REQUIRES
2022-08-31 13:22:28 +01:00
b2df152c85 Bootstrap fixes for Centos 7 (#2547) 2022-08-31 15:17:11 +03:00
726cc3684b Proper external_boost for storage manager, cmake version REQUIRES 2022-08-30 22:41:44 +00:00
ec0cd2333e Add ARM builds for evey platform. Remove Debian 10. Change debian/control arch to any 2022-08-31 00:17:57 +03:00
96eb95cb00 don't build if compiler cannot do -std=c++20 or -std=c++2a
using invalid option messes up following CHECK_xxx tests
and they are cached and affect the build even if columnstore
itself is disabled.
2022-08-30 22:34:16 +02:00
23c01c1cbb use MESSAGE_ONCE correctly 2022-08-30 21:37:27 +02:00
611a632f30 set plugin version correctly 2022-08-30 21:17:54 +02:00
18001d3873 start from the empty list of byproducts 2022-08-30 20:46:12 +02:00
a4f2e5b331 external_boost is only needed as a columnstore dependency
it should not be added to the 'all' target
2022-08-30 20:01:17 +02:00
05d3ac82d9 Querytester (#2539)
* Build querytester adhoc on Drone

* Negative to unsigned cast is 0 on ARM
2022-08-30 17:25:26 +03:00
cdd41f05f3 MCOL-785 Implement DISTRIBUTED JSON functions
The following functions are created:
Create function JSON_VALID and test cases
Create function JSON_DEPTH and test cases
Create function JSON_LENGTH and test cases
Create function JSON_EQUALS and test cases
Create function JSON_NORMALIZE and test cases
Create function JSON_TYPE and test cases
Create function JSON_OBJECT and test cases
Create function JSON_ARRAY and test cases
Create function JSON_KEYS and test cases
Create function JSON_EXISTS and test cases
Create function JSON_QUOTE/JSON_UNQUOTE and test cases
Create function JSON_COMPACT/DETAILED/LOOSE and test cases
Create function JSON_MERGE and test cases
Create function JSON_MERGE_PATCH and test cases
Create function JSON_VALUE and test cases
Create function JSON_QUERY and test cases
Create function JSON_CONTAINS and test cases
Create function JSON_ARRAY_APPEND and test cases
Create function JSON_ARRAY_INSERT and test cases
Create function JSON_INSERT/REPLACE/SET and test cases
Create function JSON_REMOVE and test cases
Create function JSON_CONTAINS_PATH and test cases
Create function JSON_OVERLAPS and test cases
Create function JSON_EXTRACT and test cases
Create function JSON_SEARCH and test cases

Note:
Some functions output differs from MDB because session variables that affects functions output,e.g JSON_QUOTE/JSON_UNQUOTE
This depends on MCOL-5212
2022-08-30 22:22:23 +08:00
3d5f70b7d6 ci: dockerhub step dependency and failure policy (#2544)
* ci: dockerhub step dependency and failure policy

* Smoke step is not visible here

Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
2022-08-30 17:19:12 +03:00
3ef706b054 fix micro benchmark 2022-08-29 19:30:45 +08:00
b5d8e0324b extentmap iterator (#2540) 2022-08-29 13:30:03 +03:00
568ac5ba7b Merge pull request #2535 from mariadb-corporation/int128Fields
Int128 fields
2022-08-28 17:42:15 +01:00
76e395c930 Merge pull request #2538 from mariadb-corporation/revert-arm64
ci: revert arm64 for some distibutions (need proper gcc toolset package)
2022-08-27 20:40:24 +01:00
63922e577a ci: revert arm64 for some distibutions (need proper gcc toolset package) 2022-08-27 21:34:44 +02:00
4c7da3b3b4 Merge pull request #2536 from mariadb-corporation/more-arm64-pipelines
undefined
2022-08-26 22:19:32 +02:00
caa5a158f9 ci: add arm64 for the rest 2022-08-26 18:55:17 +02:00
d2432f9bf6 get rid of pointers for 128 fields 2022-08-26 15:12:22 +00:00
0863ecd279 Replace getBinaryField 2022-08-25 18:21:43 +03:00
028f8e0924 Docker defaults character_set_database=utf8mb3, which would cause an ER_TOO_BIG_ROWSIZE for wide tables (#2533) 2022-08-24 23:50:24 -05:00
b6048f85cb Merge pull request #2529 from drrtuy/MCOL-5198-5199-aggregation-hashing-and-dump-dev
Mcol 5198 5199 aggregation hashing and dump dev
2022-08-24 23:01:17 +01:00
5eb89a8da2 Merge pull request #2532 from drrtuy/MCOL-5206
MCOL-5206 This patch brings some EMIndex and treeish EM leftovers fro…
2022-08-24 23:00:40 +01:00