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

1782 Commits

Author SHA1 Message Date
Roman Nozdrin
34b1d44563 MCOL-3247 Add two utility functions to simplify the code:
to log the messages and to forcely close the FEP connection.
2019-04-15 12:37:04 +03:00
Andrew Hutchings
8825c0928b Merge pull request #730 from mariadb-corporation/MCOL-1559
Mcol 1559
2019-04-11 08:00:02 +01:00
David Hall
28e743bf38 MCOL-1559 remove unused boost/trim header 2019-04-10 08:46:15 -05:00
David Hall
d78944d9ff MCOL-1559 backout trim before setting compare. Shouldn't do this in all cases. 2019-04-09 17:08:03 -05:00
David Hall
b6484dda4a MCOL-1559 trim constant varchar string before adding filter 2019-04-09 16:57:21 -05:00
David Hall
e2cb644484 MCOL-1559 trailing space compare 2019-04-09 16:34:45 -05:00
David Hall
5b581f53cb MCOL-1559 trailing space compare 2019-04-09 13:09:29 -05:00
Andrew Hutchings
6f15c97591 MCOL-2061 Add upgrade path to rebuild FRM files
A major upgrade (1.1 -> 1.2 for example) may have issues due to stale
FRM table IDs. This commit adds a stored procedure that changes the
table comment to empty on every ColumnStore table to repair the IDs.

The user should run this as part of the upgrade procedure between major
versions.
2019-04-04 15:32:38 +01:00
David Hall
8d553ae9fb MCOL-1559 trim spaces before compare 2019-04-02 11:14:40 -06:00
David Hall
aa802f44c5 MCOL-1559 trailing white space comparison 2019-03-29 08:37:16 -06:00
David Hall
e5d76e142b MCOL-1559 Some string trailing blank stuff 2019-03-28 15:25:49 -06:00
Andrew Hutchings
064d2ee9e4 Merge branch 'develop-1.2' into develop-merge-up-20190328 2019-03-28 15:09:21 +00:00
Patrick LeBlanc
8090d6dd9c Merge pull request #718 from drrtuy/MCOL-2244
*Merge after 1.2.3 release* MCOL-2244 Columnstore execution threads now have names
2019-03-15 08:50:05 -05:00
Roman Nozdrin
a0b3424603 MCOL-2244 Columnstore execution threads now have names describe
the threads operation. This should simplify CPU bottlenecks troubleshooting.
2019-03-15 14:34:01 +03:00
Roman Nozdrin
d4c4a10512 MCOL-1883 This commit fixes RENAME behavior that doesn't work properly with table
names that contains '/' sign in the middle. Given the name `some/table/` in to or
from. RENAME uses a prefix to the left of the first '/', namely `some` and doesn't
consider the trailer `/table/`.
2019-03-13 13:14:26 +03:00
Roman Nozdrin
26e61546bd Merge pull request #705 from drrtuy/MCOL-2160
MCOL-2160 MCOL-1883 RENAME now supports both '/' symbols in table names and crash described in MCOL-1883 has been fixed.
2019-03-07 15:08:18 +05:30
David Hall
e9a920b4e8 MCOL-1951 Don't crash when MariaDB UDAF not defined in Columnstore 2019-03-06 13:57:49 -06:00
Andrew Hutchings
6ba299cccd Merge branch 'develop-1.2' into MCOL-1822-c 2019-03-06 06:47:46 -05:00
Andrew Hutchings
e5758b794b Merge pull request #700 from mariadb-corporation/MCOL-901_2
MCOL-901 group_concat() uses only a subset of unique values
2019-03-06 06:21:42 -05:00
Roman Nozdrin
79aca9a285 MCOL-2160 MCOL-1883 RENAME now supports both '/' symbols in table names and
doesn't crash on multi-RENAME statements when non-alphanumeric
    chars are presented in table names.

    Replaced INFINIDB_DEBUG with MCS_DEBUG in ha_calpont_ddl.cpp

    Removed unused debug outputs.
2019-03-06 12:55:53 +03:00
David Hall
38d077d72f MCOL-1822 Change scanFlags back to bool (had changed to int for debugging) 2019-03-05 10:00:15 -06:00
David Hall
0ea4ccfe06 MCOL-1822 colWidth should be sizeof(long double), not hardcoded 16 2019-03-05 09:49:11 -06:00
David Hall
b7606139d7 MCOL-1822 Typo repair. Should be long double, not double 2019-03-05 09:45:34 -06:00
David Hall
3f2c753947 MCOL-1822-c final checkin 2019-03-05 09:33:39 -06:00
David Hall
9e1cec56b1 MCOL-1822 finishing up use long double for SUM/AVG 2019-03-01 17:34:57 -06:00
Roman Nozdrin
947eaaef26 MCOL-901 group_concat() uses only a subset of unique values
b/c an incorrect number of key columns was used whilst
        initializing Eq() struct. The regression caused by
        changes made for MCOL-1829 so I revised the changes
        made. Now LimitedOrderBy::getKeyLength() returns an
        actual key columns count.
2019-03-02 02:01:41 +03:00
David Hall
cf056e42ac Merge branch 'develop-1.2' into MCOL-1822-c 2019-02-27 13:20:45 -06:00
David Hall
c654e8621e MCOL-1822 interim checkin 2019-02-27 13:09:37 -06:00
David Hall
8298ced9e1 MCOL-1822 Fix for DISTINCT 2019-02-25 16:07:59 -06:00
David Hall
a2aa4b8479 MCOL-1822 Intermediate checkin. DISTINCT not working. 2019-02-25 14:54:46 -06:00
Roman Nozdrin
eef813982c MCOL-2165 This disables correlated subqueries processing in group_by_nahdler
handing the query back to the server.
2019-02-22 19:04:45 +03:00
Andrew Hutchings
baf07211f9 Merge pull request #698 from drrtuy/MCOL-1101
MCOL-1101 Replace system variables with plugin variables where possible.
2019-02-19 10:48:56 +00:00
Andrew Hutchings
a955b56f4d Merge branch 'develop-1.2' into develop-merge-up-20190218 2019-02-18 15:55:11 +00:00
Roman Nozdrin
06696f596a MCOL-1101 Add plugin variables to replace the legacy system vars.
Legacy system vars with names infinidb_* was preserved for
    backward compatibility and they will be used if
    columnstore_use_legacy_vars variable is set.

    Remove unused structure and plugin variable.
2019-02-18 16:13:50 +03:00
Roman Nozdrin
d22183e195 MCOL-1101 Move client UDFs into a separate file.
Remove rmParms from ha_calpont_impl.cpp
2019-02-13 22:09:55 +03:00
Roman Nozdrin
ca0240037a FE connection info structure migration.
Replaced INFINIDB_VTABLE.cal_conn_info with a plugin thread variable.
	Fixed query_string memory deallocation crash at plugin_thdvar_cleanup.
2019-02-13 22:09:55 +03:00
Roman Nozdrin
971055a473 MCOL-1101. PoC for INFINIDB_VTABLE and thd variables migration to plugin sys variables. 2019-02-13 22:09:55 +03:00
Andrew Hutchings
46cc344108 Merge pull request #683 from drrtuy/MCOL-901
MCOL-901 Significanlty reduced memory consumption for group_concat().
2019-02-04 18:44:49 +00:00
Roman Nozdrin
773a665dab MCOL-2050 ORDER BY with OFFSET in subquery now produces correct result. 2019-02-01 14:42:34 +03:00
David Hall
c5b9ae11e5 MCOL-1822 add LONG DOUBLE support 2019-01-29 09:55:43 -06:00
Roman Nozdrin
6d65b13852 MCOL-901 Significanlty reduced memory consumption for group_concat().
RowGroup default constructor allocates memory too generously.

    Removed commented code from groupconcat.cpp.
2019-01-29 16:02:37 +03:00
Andrew Hutchings
95c4f17b0a Merge branch 'develop-1.1' into 1.2-merge-up-20190122 2019-01-22 08:26:26 +00:00
Ben Thompson
009f70b4d4 MCOL-2009 MCOL-1702 : join() inside of joblist::abort caused threads to be blocked on an abort 2019-01-16 12:58:18 -06:00
Andrew Hutchings
baeb8f841d Merge pull request #676 from drrtuy/MCOL-2052
MCOL-2052 IS.columnstore_files now prints correct number of records for any relation out.
2019-01-15 08:26:26 +00:00
Roman Nozdrin
771988dd1f MCOL-2052 IS.columnstore_files now prints correct number of records for any relation out.
Return statement called in generate_result() returns too early.
2019-01-15 10:18:25 +03:00
Roman Nozdrin
7b4cec5757 MCOL-1829 Subquery with limited order by could potentially return onordered set.
There were two code mistakes: Eq::operator() always returned true for
    any pair and Hasher::operator() always returned 0 as a key.
2019-01-14 16:55:41 +03:00
Gagan Goel
d1ada75395 MCOL-270 Add support for MEDIUMINT data type 2018-12-30 19:13:16 -05:00
Roman Nozdrin
35a17a87c4 MCOL-1829 Subquery with limited order by could potentially return onordered set.
There were two code mistakes: Eq::operator() always returned true for
	any pair and Hasher::operator() always returned 0 as a key.
2018-12-26 10:39:32 +03:00
David Hall
8a021dba81 MCOL-1969 change reference array for multi-column UDAF in fixup code during prepPhase** 2018-11-26 17:41:31 -06:00
Andrew Hutchings
f9a4661db6 Merge pull request #642 from drrtuy/MCOL-1716_2
MCOL-1716 Disable GROUP BY handler for queries with NOT IN and correlated subquery.
2018-11-25 21:30:36 +00:00