1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-13 23:02:14 +03:00
Commit Graph

5453 Commits

Author SHA1 Message Date
Alexander Barkov
e8126bede5 MCOL-4791 Fix ColumnCommand fudged data type format to clearly identify CHAR vs VARCHAR 2021-07-02 12:42:03 +04:00
benthompson15
85435f6b1e Merge pull request #2021 from dhall-MariaDB/MCOL-4789
MCOL-4789 Make mcs51_cpimport_select_from deterministic
2021-07-02 03:24:20 -05:00
David Hall
6ae64bc750 MCOL-4789 Make mcs51_cpimport_select_from deterministic 2021-07-01 16:29:37 -05:00
Roman Nozdrin
3aca45c60d Merge pull request #2020 from drrtuy/MCOL-1482
MCOL-1482 Future repetition reduction
2021-07-01 22:53:54 +03:00
Roman Nozdrin
a465b60bdd MCOL-1482 Future repetition reduction 2021-07-01 12:27:03 +00:00
Roman Nozdrin
325bb6c9e0 Merge pull request #1986 from tntnatbry/MCOL-1482
MCOL-1482 An UPDATE operation on a non-ColumnStore table involving a cross-engine join
2021-07-01 14:25:32 +03:00
David.Hall
ceb73cddcd Merge pull request #2016 from mariadb-AlexeyAntipovsky/fix-diskagg-ub-dev
[MCOL-4709] Fix another UB in disk aggregation
2021-06-29 10:10:03 -05:00
Alexey Antipovsky
60495564b8 [MCOL-4709] Fix another UB in disk aggregation 2021-06-29 17:47:07 +03:00
Roman Nozdrin
6fe1f71932 Merge pull request #2014 from dhall-MariaDB/MCOL-4781-dev
MCOL-4781 change smcat to SMCAT
2021-06-29 17:25:33 +03:00
David Hall
b24c7d0c62 MCOL-4781 change smcat to SMCAT
The case was mistakenly left lower
2021-06-29 08:18:07 -05:00
David.Hall
dd12bd3cd0 Merge pull request #2009 from mariadb-AlexeyAntipovsky/fix-diskagg-ub-dev
[MCOL-4709] Fix UB in disk aggregation
2021-06-28 12:17:55 -05:00
David.Hall
132146b9c8 Mcol 3738 Allow COUNT(DISTINCT to have multiple parms) (#2002)
* MCOL-3738 allow COUNT(DISTINCT) multiple parameters
Changes in the way tupleaggregatestep sets up the aggregate arrays.

* MCOL-3738 mtr test
2021-06-28 20:14:44 +03:00
Alexey Antipovsky
8a0b68f25e [MCOL-4709] Fix UB in disk aggregation 2021-06-28 20:07:23 +03:00
Roman Nozdrin
994e8027bd Merge pull request #2005 from mariadb-corporation/regression-results
ci: manually collect regression results
2021-06-28 14:11:46 +03:00
Roman Nozdrin
d8cbc000e2 Merge pull request #2004 from drrtuy/MCOL-4759
MCOL-4759 Upmerge for MCOL-4564 code that implements hash merging fam…
2021-06-28 14:05:16 +03:00
Roman Nozdrin
5ef676c734 Merge pull request #2003 from drrtuy/MCOL-4770
MCOL-4770 Installation.PMwithUM is enabled by default so a plugin com…
2021-06-28 12:42:38 +03:00
mariadb-RomanNavrotskiy
d71e44e550 ci: manually collect regression results 2021-06-27 23:29:53 +02:00
Gagan Goel
49255f5cbd MCOL-1482 An UPDATE operation on a non-ColumnStore table involving a
cross-engine join with a ColumnStore table errors out.

ColumnStore cannot directly update a foreign table. We detect whether
a multi-table UPDATE operation is performed on a foreign table, if so,
do not create the select_handler and let the server execute the UPDATE
operation instead.
2021-06-25 15:27:54 +00:00
Roman Nozdrin
8c360a1a27 MCOL-4759 Upmerge for MCOL-4564 code that implements hash merging family to reduce
performance penalty using MDB hashing functions
2021-06-24 14:48:01 +00:00
David.Hall
28fd12a008 Merge pull request #1874 from mariadb-corporation/bar-develop-MCOL-4681
MCOL-4681 Fix install_mcs_mysql.sh.in to do CREATE FUNCTION instead o…
2021-06-24 09:11:06 -05:00
Roman Nozdrin
2de4888899 Merge pull request #1990 from drrtuy/MCOL-4173_9
MCOL-4173 This patch adds support for wide-DECIMAL INNER, OUTER, SEMI…
2021-06-24 16:15:07 +03:00
Roman Nozdrin
6620d873fd Merge pull request #1927 from denis0x0D/MCOL-4407
MCOL-4407 and condtion does not work when HWM > columnstore_string_san_threshold - 1
2021-06-24 15:58:35 +03:00
Roman Nozdrin
14dbb6a8fb MCOL-4770 Installation.PMwithUM is enabled by default so a plugin communicates with a local EM only
Fix in DEC::Setup to allow to re-establish all PM connections in EM
2021-06-24 11:07:54 +00:00
Roman Nozdrin
bed0b7c6bc MCOL-4173 This patch adds support for wide-DECIMAL INNER, OUTER, SEMI, functional JOINs
based on top of TypelessData
2021-06-24 08:07:23 +00:00
Roman Nozdrin
687ab00cce Merge pull request #2001 from drrtuy/MCOL-4770
MCOL-4770 Installation.PMwithUM is enabled by default so a plugin com…
2021-06-23 13:50:59 +03:00
Roman Nozdrin
36c6c3fd69 MCOL-4770 Installation.PMwithUM is enabled by default so a plugin communicates with a local EM only 2021-06-23 10:38:46 +00:00
Gagan Goel
53e0cd07ee Merge pull request #1998 from tntnatbry/fix-narrow-aggregate-precision
Fix regression in a query involving an aggregate function on a non-wide decimal column in the HAVING clause.
2021-06-23 02:22:42 -04:00
Gagan Goel
7c8b502dc2 Fix regression in a query involving an aggregate function on a
non-wide decimal column in the HAVING clause.

In buildAggregateColumn(), if an aggregate function (such as avg)
is applied on a non-wide decimal column, we were setting the precision
of the resulting column as -1. This later down in the execution got
converted to 255 as in some cases, precision is stored as uint8_t.
The predicate operations on a DECIMAL column has logic that uses
the wide Decimal::s128value field if precision > 18. This logic incorrectly
used the Decimal::s128value instead of the correct value stored in the
narrow Decimal::value field, since precision of the Decimal column
was 255. The fix is to set the aggregate column precision to
datatypes::INT64MAXPRECISION (18) in buildAggregateColumn() when the
aggregate is applied on a non-wide decimal column.

This commit also partially fixes -Wstrict-aliasing GCC warnings.
2021-06-22 11:11:34 +00:00
Denis Khalikov
8dd2f2937c MCOL-4407 and condtion does not work when HWM > columnstore_string_scan_threshold - 1 2021-06-21 14:04:26 +03:00
Roman Nozdrin
c6f4f00b0d Merge pull request #1997 from drrtuy/MCOL-4744
MCOL-4744 Revert "MCOL-4541 CMAPI API version change"
2021-06-18 16:25:51 +03:00
Roman Nozdrin
c040956190 MCOL-4744 Revert "MCOL-4541 CMAPI API version change"
This reverts commit 8cf2724e4d.
2021-06-18 12:58:37 +00:00
Roman Nozdrin
e153486361 Merge pull request #1994 from denis0x0D/MCOL-4685_rename
MCOL-4685 Remname UNUSED -> SNAPPY
2021-06-16 11:24:17 +03:00
Denis Khalikov
e2a5956ef8 MCOL-4685 Remname UNUSED -> SNAPPY 2021-06-15 21:19:09 +03:00
Roman Nozdrin
7086694d48 Merge pull request #1991 from drrtuy/MCOL-4694
MCOL-4694 Add the JobList.DECConnectionsPerQuery setting to allow to
2021-06-14 20:54:09 +03:00
Roman Nozdrin
96f2a55eea Merge pull request #1970 from tntnatbry/MCOL-4525
MCOL-4525 Implement columnstore_select_handler=AUTO.
2021-06-14 10:43:34 +03:00
Roman Nozdrin
736b9b81fc MCOL-4694 Add the JobList.DECConnectionsPerQuery setting to allow to
distribute Jobs b/w DEC connections from EM to PPs
2021-06-14 07:15:03 +00:00
Gagan Goel
5155a08a67 Merge pull request #1987 from mariadb-corporation/bar-develop-MCOL-4700
MCOL-4700 Wrong result of a UNION for INT and INT UNSIGNED
2021-06-14 02:36:10 -04:00
Alexander Barkov
67449418ed MCOL-4700 Wrong result of a UNION for INT and INT UNSIGNED 2021-06-11 19:31:51 +04:00
Alexander Barkov
4338e4b526 Merge pull request #1988 from mariadb-corporation/bar-develop-MCOL-4757
MCOL-4757 Empty set in SELECT * INFORMATION_SCHEMA.COLUMNSTORE_TABLES…
2021-06-11 17:06:54 +04:00
Gagan Goel
e3d8100150 MCOL-4525 Implement columnstore_select_handler=AUTO.
This feature allows a query execution to fallback to the server,
in case query execution using the select_handler (SH) fails. In case
of fallback, a warning message containing the original reason for
query failure using SH is generated.

To accomplish this task, SH execution is moved to an earlier step when
we create the SH in create_columnstore_select_handler(), instead of the
previous call to SH execution in ha_columnstore_select_handler::init_scan().
This requires some pre-requisite steps that occur in the server in
JOIN::optimize() and JOIN::exec() to be performed before starting SH execution.

In addition, missing test cases from MCOL-424 are also added to the MTR suite,
and the corresponding fix using disable_indices_for_CEJ() is reverted back
since the original fix now appears to be redundant.
2021-06-11 11:35:34 +00:00
Alexander Barkov
d00ace2398 MCOL-4757 Empty set in SELECT * INFORMATION_SCHEMA.COLUMNSTORE_TABLES WHERE TABLE_NAME='t1' 2021-06-11 12:00:23 +04:00
Roman Nozdrin
4ecd561878 Merge pull request #1983 from mariadb-corporation/bar-develop-MCOL-4753
MCOL-4753 Performance problem in Typeless join
2021-06-10 18:38:28 +03:00
Alexander Barkov
b3d6f62964 MCOL-4753 Performance problem in Typeless join 2021-06-10 09:26:26 +00:00
Roman Nozdrin
c6d0b46bc6 Merge pull request #1984 from denis0x0D/MCOL-4685_fix_warn
MCOL-4685: Fix GCC warnings.
2021-06-10 11:39:10 +03:00
Alexander Barkov
7c93624bd6 Merge pull request #1985 from mariadb-AlexeyAntipovsky/fix-warns
Fix compilation warnings
2021-06-09 18:36:06 +04:00
Alexey Antipovsky
0dedb7e628 Fix compilation warnings 2021-06-09 16:51:00 +03:00
Denis Khalikov
2cd024145c MCOL-4685: Fix GCC warnings.
This patch fixes GCC warnings:
1.'const long int' and 'long unsigned int' [-Werror=sign-compare]
2. unused variable 'cf' [-Werror=unused-variable]
2021-06-09 14:33:32 +03:00
Roman Nozdrin
3c33a816c3 Merge pull request #1981 from denis0x0D/MCOL-4685_fix_rebase
MCOL-4685 Fix bug after rebase and add comments.
2021-06-08 20:45:05 +03:00
Roman Nozdrin
7a152c6a19 Merge pull request #1944 from mariadb-AlexeyAntipovsky/MCOL-563-dev
[MCOL-4709] Disk-based aggregation
2021-06-08 20:42:58 +03:00
Roman Nozdrin
2546691e53 Merge pull request #1982 from mariadb-corporation/cmake-upd
ci: fix centos8 cmake upd
2021-06-08 18:41:44 +03:00