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

6336 Commits

Author SHA1 Message Date
Leonid Fedorov
ec0cd2333e Add ARM builds for evey platform. Remove Debian 10. Change debian/control arch to any 2022-08-31 00:17:57 +03:00
Sergei Golubchik
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
Sergei Golubchik
23c01c1cbb use MESSAGE_ONCE correctly 2022-08-30 21:37:27 +02:00
Sergei Golubchik
611a632f30 set plugin version correctly 2022-08-30 21:17:54 +02:00
Sergei Golubchik
18001d3873 start from the empty list of byproducts 2022-08-30 20:46:12 +02:00
Sergei Golubchik
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
Leonid Fedorov
05d3ac82d9 Querytester (#2539)
* Build querytester adhoc on Drone

* Negative to unsigned cast is 0 on ARM
2022-08-30 17:25:26 +03:00
Ziy1-Tan
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
mariadb-RomanNavrotskiy
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
NTH19
3ef706b054 fix micro benchmark 2022-08-29 19:30:45 +08:00
Leonid Fedorov
b5d8e0324b extentmap iterator (#2540) 2022-08-29 13:30:03 +03:00
Roman Nozdrin
568ac5ba7b Merge pull request #2535 from mariadb-corporation/int128Fields
Int128 fields
2022-08-28 17:42:15 +01:00
Roman Nozdrin
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
mariadb-RomanNavrotskiy
63922e577a ci: revert arm64 for some distibutions (need proper gcc toolset package) 2022-08-27 21:34:44 +02:00
mariadb-AlexeyVorovich
4c7da3b3b4 Merge pull request #2536 from mariadb-corporation/more-arm64-pipelines
undefined
2022-08-26 22:19:32 +02:00
mariadb-RomanNavrotskiy
caa5a158f9 ci: add arm64 for the rest 2022-08-26 18:55:17 +02:00
Leonid Fedorov
d2432f9bf6 get rid of pointers for 128 fields 2022-08-26 15:12:22 +00:00
mariadb-AndreyPiskunov
0863ecd279 Replace getBinaryField 2022-08-25 18:21:43 +03:00
Daniel Lee
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
Roman Nozdrin
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
Roman Nozdrin
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
Roman Nozdrin
c049d85d63 MCOL-5206 This patch brings some EMIndex and treeish EM leftovers from develop-5 2022-08-24 19:13:34 +00:00
Roman Nozdrin
72e264e8ef MCOL-5199 This patch solves the overal performance degradation introduced with a new way of char columns hashing
in aggregation code
The patch disables padding that forces hasher to calculate over the whole 2k buffer. This patch also moves hashing code
into the common place where it belongs.
2022-08-24 19:07:06 +00:00
Roman Nozdrin
fabb975b8a Merge pull request #2524 from denis0x0D/MCOL-5091_1
MCOL-5091/MCOL-4917 ExtentMap as RBTree.
2022-08-24 18:18:39 +03:00
Leonid Fedorov
3d10d0707b regressions everywhere 2022-08-24 14:50:21 +00:00
Leonid Fedorov
8ff4192f52 get rid of getbinaryfield in ranking window functions 2022-08-24 14:50:03 +00:00
Roman Nozdrin
20f57b713a MCOL-5198 This patch enables RowStorage to dump data on disk
using startNewGeneration if there is 50 Megs left free
2022-08-24 14:00:43 +00:00
Alexey Antipovsky
15ce531270 Randomly start a new generation if the free memory is less than 30% 2022-08-24 14:00:37 +00:00
Roman Nozdrin
7251f58818 Merge pull request #2525 from NTH19/useHashmapOrForLoop
Add threshold for eqFilter in p_Dictionary of pp
2022-08-24 11:34:20 +03:00
Denis Khalikov
2f5f9cdbe1 MCOL-5091/MCOL-4917 ExtentMap as RBTree.
This patch replaces a `linear array` to `Red black tree` for ExtentMap.
2022-08-23 17:33:16 +03:00
NTH19
df7c967d54 when eq Filtercount <6 ,the speed of for loop is faster than hashmap
add threshold for eqFilter
2022-08-23 18:45:36 +08:00
Sergey Zefirov
50d95bf60a MCOL-5196 REPLACE function may trigger invalid capacity assertion (#2522)
When length of string to replace minus length of string to replace to is
bigger than input string and processing mode allows for binary (memcmp
or std::string::find()) comparison, REPLACE may trigger invalid capacity
assertion and query processing will stop.

The fix is to properly count the number of occurences of the string to
replace, basically.
2022-08-22 21:34:38 +03:00
Roman Nozdrin
bbb3c69e31 Merge pull request #2517 from mariadb-corporation/dlee_mtr_cleanup_2208
Dlee mtr cleanup 2208
2022-08-22 15:26:52 +03:00
mariadb-RomanNavrotskiy
8a08df24d3 some ci improvements:
- add ddebs env for debug symbos packaging
- tee build log to file
- fix backup testErrorLogs2 dependency
2022-08-20 00:19:05 +02:00
Roman Nozdrin
14bbba2c97 Merge pull request #2510 from tntnatbry/MCOL-5021-followup
MCOL-5021 Followup.
2022-08-19 20:44:56 +03:00
Roman Nozdrin
590780e510 Merge pull request #2515 from mariadb-AlexeyAntipovsky/agg-append-fixdev
Fix excessive memory consumption at the last stage of aggregation
2022-08-19 17:56:45 +03:00
mariadb-DanielLee
54329d3ab8 Updated autopilot adn extended cases 2022-08-18 21:08:05 -05:00
Gagan Goel
6a6fee5969 MCOL-5021 Followup.
Allow the compiler to inline the call to nextColValue() in column.cpp.
2022-08-18 19:35:35 +00:00
Roman Nozdrin
3089f97613 Merge pull request #2511 from mariadb-corporation/MDEV-28711-libmariadb
MDEV-28711: add libmariadb to columnstore deps
2022-08-18 22:03:50 +03:00
Roman Nozdrin
6a8a464afc Merge pull request #2512 from mariadb-corporation/MCOL-5013-params
MCOL-5013 : Changed function name, schema and params order
2022-08-18 20:50:11 +03:00
Roman Nozdrin
4fc43c3c93 Merge pull request #2506 from mariadb-corporation/MCOL-5092-addendum
MCOL-5092 addendum modify moda() mtr tests with order by
2022-08-18 20:49:01 +03:00
Alexey Antipovsky
dca359c2ab Fix excessive memory consumption at the last stage of aggregation 2022-08-18 14:00:53 +03:00
Leonid Fedorov
d02b3403b7 Changed function name, schema and params order to achieve
columnstore_info.load_from_s3("<bucket>", "<file_name>", "<db_name>", "<table_name>");
2022-08-18 10:41:22 +00:00
Leonid Fedorov
3798dd8d38 MDEV-28711: add libmariadb to columnstore deps 2022-08-18 10:02:09 +00:00
root
471b8e3e09 Updated test case 2022-08-17 16:56:26 +00:00
mariadb-DanielLee
8166e0284f Disabled warnings and add drop table commands 2022-08-17 11:29:04 -05:00
mariadb-DanielLee
10a8d274cd Updated reference results to match that of innodb tables 2022-08-17 11:28:05 -05:00
Roman Nozdrin
4e2d4984cf Merge pull request #2508 from denis0x0D/MCOL-5172
MCOL-5172 RebuildEM: improve internal representation of sys.cat files
2022-08-17 18:52:31 +03:00
Roman Nozdrin
0f2f0fc0ba Merge pull request #2507 from denis0x0D/MCOL-4715
MCOL-4715 Mixed inner and outer joins with "null" filter for the table which is not involved into the outer join produces wrong results.
2022-08-17 18:50:43 +03:00
david.hall
5c62d96b71 MCOL-5092 Use sorted_result to get consistent results in mtr 2022-08-17 09:07:47 -05:00