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

6318 Commits

Author SHA1 Message Date
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
8671f55784 MCOL-5333: Full MTR tests for custom Build (#2732)
* Add MTR_SUITE_LIST

* Typo

* Add data download

* Install tar and lz4

* Change the way MTR_SUITE_LIST is set up

* Use bash for MTR_SUITE_LIST

* Another one

* Fix reference results for full MTR develop, disable broken JSON test and tests with 10GB database

* Fix timestamps and truncate cos

* Fix some more references

* Fix dokcerhub step for custom build

* One more fix for dockerhub step on custom build

* Fix tests for regr functions with truncate

* Full mtr set on nghtly + MTR_FULL_SET flag

* One more fix for dockerhub

* Fix MTR_FULL_SET

* Testing MTR_FULL_SET

* sorted_result in tests + fix typo

* Truncate even more

* Typo

* truncate 2 more tests

* Disable regr_* functions tests

* fix setup mtr step

* correct settings for table creation

* Put setup for tests into drone

* Fix for debian based distros

* More truncates

* Disable the rest

---------

Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
2023-02-27 13:42:48 +03:00
71a6f691fd Merge pull request #2737 from mariadb-corporation/MCOL-5433-build-log
ci: #MCOL-5433 always publish build log, #MCOL-5434 always run regresion
2023-02-26 14:36:14 +00:00
a0c996e601 Revert "ci: #MCOL-5423 change ent branch" (#2743) 2023-02-24 00:00:45 +03:00
523afbf441 Merge pull request #2740 from mariadb-corporation/MCOL-5423-ent-branch
ci: #MCOL-5423 change ent branch
2023-02-23 09:01:38 -05:00
2ad46a983d ci: #MCOL-5433 always publish build log, #MCOL-5434 always run regresion 2023-02-23 10:28:33 +02:00
d641581493 README version fix and files cleanup (#2738)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2023-02-23 00:35:03 +03:00
f66a1b3a04 Raise Columnstore version up to 23.02.1 (#2739) 2023-02-23 00:34:49 +03:00
0aafdf3218 ci: #MCOL-5423 change ent branch 2023-02-22 23:15:46 +02:00