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

1621 Commits

Author SHA1 Message Date
Gagan Goel
816139d06d MCOL-4000 Allow columnstore_use_import_for_batchinsert to use a
new value, ALWAYS, which invokes cpimport for LDI and INSERT..SELECT
from within and outside a transaction.

Default value of the session variable, ON, remains unchanged.
2020-05-12 19:42:15 -04:00
Jose
98abf95eae MCOL-3991 MCS is now single package and properly uninstalls 2020-05-12 13:36:24 +00:00
Gagan Goel
d4d0ebdf5d Improve batch inserts.
1) Instead of making dbrm calls to writeVBEntry() per block,
     we make these calls per batch. This can have non-trivial
     reductions in the overhead of these calls if the batch size
     is large.

  2) In dmlproc, do not deserialize the whole insertpackage, which
     consists of the complete record set per column, which would be
     wasteful as we only need some metadata fields from insertpackage
     here. This is only done for batch inserts at the moment, this
     should also be applied to single inserts.
2020-05-10 19:38:06 -04:00
Jose
90692c8cc2 MCOL-3813 Count with view is incorrect 2020-05-09 01:03:52 +00:00
Roman Nozdrin
cc69edce6a MCOL-3981 Fixed builds with cmake 2.8.X. 2020-05-04 15:35:26 +00:00
Patrick LeBlanc
cb4228d982 Merge branch 'columnstore-1.4.3' into merge-hotfix-patches-1.5
Conflicts:
	VERSION
	dbcon/mysql/ha_mcs.cpp
	dbcon/mysql/ha_mcs_execplan.cpp
	dbcon/mysql/ha_mcs_impl.cpp
	dbcon/mysql/ha_mcs_pushdown.cpp
	oam/install_scripts/columnstore-post-install.in
	oam/install_scripts/columnstore-pre-uninstall.in
	oam/install_scripts/columnstore.in
	oam/install_scripts/post-mysql-install
2020-04-27 17:17:55 -04:00
Patrick LeBlanc
1f333993e2 Merge pull request #1166 from dhall-MariaDB/MCOL-3757-1.5
MCOL-3757 Correct overwrite of MCOL-3903
2020-04-22 15:34:56 -05:00
David Hall
c957048a51 MCOL-3757 Correct overwrite of MCOL-3903
This line for MCOL-3757 is incorrect given MCOL-3903 and it breaks things
2020-04-22 15:02:47 -05:00
Patrick LeBlanc
432e13c3b1 MCOL-3941 part 2. Added the location of the flex/bison output to the include list. 2020-04-22 11:14:58 -04:00
David.Hall
f3a71199b8 Merge branch 'develop' into MCOL-3757-1.5 2020-04-21 13:39:52 -05:00
Gagan Goel
c98e553daa Merge pull request #1160 from mariadb-corporation/MCOL-3941
MCOL-3941 Ninja now builds MCS.
2020-04-20 21:56:19 -04:00
Gagan Goel
2954764104 Merge pull request #1141 from mariadb-corporation/MCOL-3903_1_5
Mcol 3903 1 5
2020-04-20 21:50:36 -04:00
David Hall
6087b61e3b MCOL-3757 Test for LIMIT in correlated subqueries
The if() had been changed to something that didn't work. Changed it back
2020-04-20 17:20:26 -05:00
David.Hall
6efc9108bb Merge pull request #1158 from dhall-MariaDB/MCOL-3949
MCOL-3949 type_handler change in server
2020-04-20 15:01:33 -05:00
Roman Nozdrin
6f3ae1b429 MCOL-3941 Ninja now builds MCS.
Generated files in utils/loggingcpp/ are now moved into bin dir.
2020-04-20 13:35:30 +00:00
David Hall
fa7bc6117f MCOL-3949 type_handler change in server 2020-04-17 13:02:24 -05:00
benthompson15
e7caeb8722 Another check for Update/Delete with replication. 2020-04-13 14:02:06 -05:00
benthompson15
2bdb40ed64 add logic for ha_mcs_impl_direct_update_delete_rows to handle delete statements with replication enabled. 2020-04-10 17:43:21 -05:00
Roman Nozdrin
7af55b2d21 Merge pull request #1142 from dhall-MariaDB/MCOL-3934
MCOL-3934 Delete xml parse trees during shutdown
2020-04-10 22:08:00 +03:00
David Hall
225789e171 MCOL-3934 free memory from XML parse at shutdown 2020-04-10 13:33:16 -05:00
David Hall
e7bc7e9313 MCOL-3924 Use the first parse error found
Often, after an error is found, it cascades into a bunch of errors, and each overwrites the previous. This sometimes obfuscates the true problem.
2020-04-09 15:30:44 -05:00
David Hall
35b59e81c5 MCOL-3934 Delete xml parse trees during shutdown 2020-04-09 10:53:27 -05:00
Roman Nozdrin
e6d1aa27f4 MCOL-3903 10.5 allows engines to process LIMIT and OFFSET on their own. 2020-04-08 13:41:30 +00:00
Roman Nozdrin
6ea30f64fd MCOL-3903 Fix the fail in expBetween(BETWEEN in projection wasn't
processed as expected.)
2020-04-07 09:17:05 +00:00
Roman Nozdrin
ab2003baaa MCOL-3903 Enable Select Handler to run query part of INSERT..SELECT.
Original SH implementation sends the result set back to the client
thus it can't be used in INSERT..SELECT, SELECT INTO OUTFILE,CREATE
TABLE AS SELECT etc.
CLX-77 feature has been backported into MDB to enable SH to run
query part of the mentioned queries.
2020-04-07 09:17:05 +00:00
Roman Nozdrin
4752f5440f Merge pull request #1133 from jmrojas2332/MCOL-2096
MCOL-2096 Fix evaluation for derived table inside ConstantFilter
2020-04-07 10:31:10 +03:00
Jose
eaf3c85ddf MCOL-2096 Fix evaluation for derived table inside ConstantFilter 2020-04-02 19:31:19 +00:00
Patrick LeBlanc
57595a44ad Merge pull request #1132 from drrtuy/MCOL-3903_1_4_5
MCOL-3903 Fix the fail in expBetween(BETWEEN in projection wasn't
2020-04-01 13:45:05 -04:00
Gagan Goel
6d9544a15e Merge pull request #1126 from drrtuy/MCOL-3903_1_4
MCOL-3903 Enable Select Handler to run query part of INSERT..SELECT.
Conflicts:
	dbcon/mysql/ha_mcs_pushdown.cpp
2020-04-01 13:45:00 -04:00
Gagan Goel
3d5d113a84 Merge pull request #1117 from drrtuy/MCOL-3828_1_4
MCOL-3828 This commit replaces the method that calls JOIN::optimise()
2020-04-01 13:43:10 -04:00
Gagan Goel
1e9946e23a Merge pull request #1095 from mariadb-corporation/MCOL-3769_3
MCOL-3769 This commit divides create_SH() in two parts.
Conflicts:
	dbcon/mysql/ha_mcs_pushdown.cpp
2020-04-01 13:42:37 -04:00
David Hall
04a9027782 MCOL-3904 group_concat with sum from subquery in order by 2020-03-26 13:35:15 -05:00
Gagan Goel
3caf5a27a1 Merge pull request #1118 from drrtuy/MCOL-3828_1_5
MCOL-3828 This commit replaces the method that calls JOIN::optimise()
2020-03-26 11:41:11 -04:00
David.Hall
5bc589136c Merge pull request #1114 from pleblanc1976/mcol-3356-1.5
Mcol 3356 1.5 - bit_{or,and,xor} problem in job creation
2020-03-26 09:44:28 -05:00
Roman Nozdrin
ce0311aa79 MCOL-3828 This commit replaces the method that calls JOIN::optimise()
internally(thus can remove equi-JOIN predicates) with a recursive f()
to inject equi-JOIN conditions for IN + correlated subquery Item.
This change both solves MCOL-3747 issue and remove issues I first
faced in union.sql test.

This commit also fixes a clean up for conditions pushed for table API
execution path and replaces NULL with nullptr in ha_mcs_impl.cpp.
2020-03-24 14:00:42 +00:00
Patrick LeBlanc
163b4a5bb7 MCOL-3356. code cleanup. 2020-03-19 15:31:50 -04:00
Patrick LeBlanc
17f1539f89 MCOL-3356. bit_{or,xor,and} job creation error
Checkpointing.  Found it, fixed it.  It was an extra assignment that was
messing up RowGroup creation.
2020-03-19 12:39:16 -04:00
Roman Nozdrin
3345f7a437 MCOL-3769 This commit divides create_SH in two parts: before rewrites and
after rewrites. We can safely fallback from SH to DH and table mode from
'before rewrites' part.
2020-03-18 20:24:34 +03:00
Gagan Goel
457ec0d483 Updates to plugin code based on recent changes in the server 10.5 branch. 2020-03-12 00:42:16 +00:00
Gagan Goel
b5373d227a MCOL-3777 Cleanup left-over values from a previously failed insert. 2020-03-05 02:26:58 +00:00
Patrick LeBlanc
52dec05a52 Merge pull request #1075 from pleblanc1976/2020-3-1.4-to-1.5
2020 3 1.4 to 1.5
2020-03-02 09:11:00 -06:00
Patrick LeBlanc
03a2283bac Fixed a merge error. 2020-02-28 17:11:13 -05:00
benthompson15
da32afc0b2 Merge pull request #1023 from LinuxJedi/mariadb-systemctl
MCOL-3718 Use systemd instead of mysql-Columnstore
2020-02-28 16:19:58 -05:00
Jose Rojas
61574cd00d Merge pull request #1047 from LinuxJedi/collate_warn
MCOL-3721 Fix quoting issues for COLLATE
2020-02-28 16:19:53 -05:00
Roman Nozdrin
e0cb60dcd2 Merge pull request #1024 from LinuxJedi/collate_warn
MCOL-3721 Allow collate and warn on ORDER BY
2020-02-28 16:19:36 -05:00
David.Hall
f71158601e Merge pull request #1032 from drrtuy/MCOL-3766
MCOL-3766 EXPLAIN now doesn't execute query via SH thus doesn't fail
2020-02-28 16:19:25 -05:00
David.Hall
bfe3ab14c0 Merge pull request #1030 from LinuxJedi/MCOL-3764
MCOL-3764 Fix RENAME TABLE
2020-02-28 16:19:18 -05:00
David.Hall
0db52396f9 Merge pull request #1025 from mariadb-corporation/MCOL-3747
MCOL-3747 This patch properly enables queries with IN + uncorrelated …
2020-02-28 13:58:45 -05:00
Gagan Goel
f27cb8a21f Merge pull request #1012 from dhall-MariaDB/MCOL-3662
MCOL-3662 Restore error message for multi parameter aggregates save for UDAnF and GROUP_CONCAT
2020-02-28 13:58:39 -05:00
Gagan Goel
42adfb60e5 Merge pull request #1017 from dhall-MariaDB/MCOL-3632
MCOL-3632 Restore error message for ref item type
2020-02-28 13:58:34 -05:00