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

6176 Commits

Author SHA1 Message Date
f52354b0e4 Output details file from regression into CI logs (#2801)
* Output details into CI logs

* Run the script and print out diffs

* Logging in -log stage + put logs on s3

* Typo

* Install find + put logs in a dir

* Proper logs location

* Put all output in the script + put script in the regression step

* Typo

* Move more logic to script

* Add a guard

* Conditional execution

* Move bash -c to the beginning

* Never fail go.sh, reg-logs checks for failures

* Add env var to start regression with custom test set (name for the step
is broken)

* Typos + only exec test000 once

* Proper expression with if

* Remove timeout to get results

* Remove flag for full regression for now

* Remove unnecessary var
2023-04-11 20:42:42 +03:00
105cf2da22 Make build scripts color brighter (#2803)
* Make build scripts color brighter

* better colors, draw deps and ninja generator options

* Add color spinner for configure and install make changed to cmake --build and cmake --install

* Clean more builds log garbage
2023-04-11 03:35:05 +03:00
c38d98a510 Merge pull request #2762 from mariadb-corporation/MCOL-5191_Dist
MCOL-5191 Refacator statistics.
2023-04-06 21:09:42 +01:00
f5735e8894 Merge pull request #2786 from MuHe03/develop
[MCOL-4991] Solving TRUNCATE/ROUND/CEILING functions on TIME/DATETIME/TIMESTAMP
2023-04-06 10:50:58 +01:00
7e2f83e39d Merge branch 'mariadb-corporation:develop' into develop 2023-04-05 18:22:52 +02:00
2e1394149b MCOL-5464: Fixes of bugs from ASAN warnings, part one (#2792)
* Fixes of bugs from ASAN warnings, part one

* MQC as static library, with nifty counter for global map and mutex

* Switch clang to 16

* link messageqcpp to execplan
2023-04-04 02:33:23 +03:00
ac8881091b Add color to build logswq (#2802) 2023-04-03 20:54:43 +03:00
d906974abc MCOL-4991 Solving TRUNCATE/ROUND/CEILING functions on TIME/DATETIME/TIMESTAMP
Add getDecimalVal in func_round and func_truncate for getting value while filtering

MCOL-4991 Solving TRUNCATE/ROUND/CEILING functions on TIME/DATETIME/TIMESTAMP

Update func_cast.cpp
2023-03-31 18:39:16 +02:00
4eced2c23a Generate published package URL as part of new pipeline step (#2800)
* Generate published package URL as part of pipeline step

* Pull publish_pkg_url into local variable

* Add dependency on 'publish pkg' step
2023-03-31 15:57:31 +03:00
b53c231ca6 MCOL-271 empty strings should not be NULLs (#2794)
This patch improves handling of NULLs in textual fields in ColumnStore.
Previously empty strings were considered NULLs and it could be a problem
if data scheme allows for empty strings. It was also one of major
reasons of behavior difference between ColumnStore and other engines in
MariaDB family.

Also, this patch fixes some other bugs and incorrect behavior, for
example, incorrect comparison for "column <= ''" which evaluates to
constant True for all purposes before this patch.
2023-03-30 21:18:29 +03:00
0ea592da80 Merge pull request #2795 from HanpyBin/rb
fix dependency error in bootstrap_mcs.sh
2023-03-28 13:40:06 +01:00
ed24f3ebec fix dependency error 2023-03-28 15:04:13 +08:00
a445fa8be1 Merge pull request #2790 from drrtuy/MCOL-5451-dev
MCOL-5451 This resolves external GROUP BY result inconsistency issues
2023-03-28 00:15:01 +01:00
688b47d4e7 MCOL-5451 This resolves external GROUP BY result inconsistency issues
Given that idx is a RH hashmap bucket number and info is intra-bucket idx
    the root cause is triggered by the difference of idx/hash pair
    calculation for a certain GROUP BY generation and for generation
    aggregations merging that takes place in RowAggStorage::finalize.
    This patch generalizes rowHashToIdx to leverage it in both cases
    mentioned above.
2023-03-25 15:04:16 +00:00
256691652d MCOL-4530: toCppCode() method for ParseTree and TreeNode (#2777)
* toCppCode for ParseTree and TreeNode

* generated tree is compiling

* Put tree constructors into tests

* Minor fixes

* Fixed parse + some constructors

* Fixed includes, removed debug and old data

* Hopefully fix clang errors

* Forgot an override

* More overrides
2023-03-22 23:25:06 +03:00
75da821839 Merge pull request #2781 from mariadb-corporation/preserver-regr-logs
ci: PRESERVE_LOGS env var for regression run
2023-03-22 11:37:26 +00:00
d1b5f40bb2 ci: PRESERVE_LOGS env var for regression run 2023-03-20 23:41:29 +03:00
502becaa8a Merge pull request #2780 from mariadb-SergeyZefirov/undefine-a-wasteful-define-text-ranges
Small performance issue corrected
2023-03-20 11:28:57 +03:00
2558c1a911 Define commented out 2023-03-17 17:10:40 +03:00
a2d7a21196 Fix "column1 LIKE column2" for columns from same table (#2776)
This WHERE part will be performed with FilterCommand, which did not had
LIKE operator implemented until now.
2023-03-17 12:10:53 +02:00
760c1ba13e ci: use local files for core_dumps scripts (#2775)
* ci: make core dumps scripts run a little bit better:
- use local scripts
- compress core dumps

* produce CoreDump on primProc to check coredump collecting

* Update core_dump_format.sh

compress with gzip for compatibility

* fix build

* remove afke core dump

---------

Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
2023-03-15 17:04:53 +03:00
5eea77adad Merge pull request #2774 from mariadb-corporation/release-23.02.01-buildfixes
Fix to thrift from serg
2023-03-15 03:45:49 -04:00
60609e6c3d Fix to thrift from serg 2023-03-14 17:07:34 +03:00
04740e5861 Switch stable branch on CI (#2771) 2023-03-13 19:48:42 +03:00
7d2e4b8275 Merge pull request #2770 from ottok/fix-spelling
Fix trivial spelling errors
2023-03-13 11:11:16 +00:00
70124ecc01 Fix trivial spelling errors
- occured -> occurred
- reponse -> response
- seperated -> separated

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
2023-03-11 11:59:47 -08:00
967cf2e005 Merge pull request #2755 from drrtuy/MCOL-5438-dev
MCOL-5438 COUNT() in math causes SEGV
2023-03-10 10:58:47 +00:00
786b9da5b0 MCOL-5438 COUNT() in math causes SEGV 2023-03-09 20:35:38 +00:00
a0cb59f5bc This patch resolves UB with non-existing mutex usage in MQC on runtime shutdown 2023-03-09 20:15:28 +00:00
6f0d66b574 Bump boost version to 1.81 2023-03-09 20:15:20 +00:00
84c4c1d50c This bumps clang and gcc versions for some deb-based distros, e.g. Deb11, U20 2023-03-09 20:15:03 +00:00
52f201d689 Update drone to use 10.6-enterprise server branch. (#2764) 2023-03-08 16:10:02 +03:00
bca300cd11 MCOL-5191 Refacator statistics.
Move uniform distribution to Statitistics constructor, remove rowcount.
2023-03-06 15:06:40 +03:00
a8d230dff3 mcs4011_autopilot_query_stats disabled for unstable response (#2756) 2023-03-03 13:55:25 +02:00
84294c6b03 Merge pull request #2753 from mariadb-corporation/drop_windows
Drop windows support from code
2023-03-02 16:34:18 +00:00
56f2346083 Remove windows ifdefs 2023-03-02 15:59:42 +00:00
123c345b40 remove winport 2023-03-02 15:37:11 +00:00
4d4e4ad30d Merge pull request #2741 from mariadb-corporation/MDEV-25080-CS-dev
MDEV-25080 Allow pushdown of queries involving UNIONs in outer select to ColumnStore
2023-02-28 11:23:50 +00:00
b267186f58 Fix cron full mtr set (#2749)
* Fix cron full mtr set

* Typo
2023-02-28 13:58:24 +03:00
b6808c97f1 MCOL-4530: common conjuction top rewrite (#2673)
Added logical transformation of the execplan::ParseTrees with the taking out the common factor in expression of the form "(A and B) or (A and C)" for the purposes of passing a TPCH 19 query.

Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
2023-02-27 19:23:19 +03:00
8bf545bc2e MDEV-25080 Fix a corner case in DataConvert::joinColTypeForUnion(). 2023-02-27 09:01:24 -05:00
95a314f1fb Replace enterpice server branch with 10.6-MENT-1667 2023-02-27 06:41:31 -05:00
157d0f9b8c MDEV-25080 Add --sorted_result MTR qualifier to some UNION tests. 2023-02-27 06:38:31 -05:00
2f1f9c0ef0 MDEV-25080 Some fixes:
1. In TupleUnion::writeNull(), add the missing switch case for
   wide decimal with 16bytes column width.
2. MCOL-5432 Disable complete/partial pushdown of UNION operation
   if the query involves an ORDER BY or a LIMIT clause, until
   MCOL-5222 is fixed. Also add MTR test cases for this.
2023-02-27 06:38:31 -05:00
4e2123ca80 MDEV-25080 Fix some corner cases in DataConvert::joinColTypeForUnion(). 2023-02-27 06:38:31 -05:00
e4100928d1 MDEV-25080 DISABLE pushdown of SELECT_LEX_UNIT for the prepare
phase of PS/SP statements.
2023-02-27 06:38:31 -05:00
e987a766e0 MDEV-25080 Some updates to the MDEV-25080 MTR test cases. 2023-02-27 06:38:31 -05:00
86dcf92d56 MCOL-5215 Fix overflow of UNION operation involving DECIMAL datatypes.
When a UNION operation involving DECIMAL datatypes with scale and digits
before the decimal exceeds the currently supported maximum precision
of 38, we throw an error to the user:
"MCS-2060: Union operation exceeds maximum DECIMAL precision of 38".

This is until MCOL-5417 is implemented where ColumnStore will have
full parity with MariaDB server in terms of maximum supported DECIMAL
precision and scale of 65 and 38 digits respectively.
2023-02-27 06:38:31 -05:00
8cdcae0d2f MDEV-25080 Disable pushdown of SELECT_LEX_UNIT for CREATE VIEW statements. 2023-02-27 06:38:31 -05:00
45a779f743 MDEV-25080 Implement ColumnStore-side changes for pushdown of SELECT_LEX_UNITs. 2023-02-27 06:38:31 -05:00