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

117 Commits

Author SHA1 Message Date
Andrew Hutchings
291fbac506 Fix merge issue 2019-04-25 10:51:02 +01:00
Andrew Hutchings
784bbe09d4 Merge branch 'develop-1.2' into develop-merge-up-20190425 2019-04-25 10:27:59 +01:00
Roman Nozdrin
287b2ba7bd MCOL-3247 CS uses thread plugin variables since MCOL-1101 that aren't
good for transmiting cal_connection_info to handler::close_connection().
This variables are then erased in THD::cleanup() and the cal_connection_info
is replaced in handler::delete_table with an empty structure.
handler::close_connection() recevies cal_connection_info with empty cal_conn_hndl.
This patch uses THD::ha_data that is supposed to be used in such occasions.
2019-04-15 19:31:12 +03:00
Andrew Hutchings
f9f966fe96 MCOL-593 Add optional MariaDB replication support
This patch will allow MariaDB replication into UM1 when enabling the
following is added to the SystemConfig section of Columnstore.xml:

<ReplicationEnabled>Y</ReplicationEnabled>

The intended use case is to replication from an InnoDB MariaDB server
into ColumnStore. You would need to create the tables on the ColumnStore
slave as "ColumnStore" and the same tables in the master as InnoDB.

At the moment the use case is narrow and could be prone to problems so
this will use the hidden flag until we can improve it.
2019-04-15 14:45:34 +01:00
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
064d2ee9e4 Merge branch 'develop-1.2' into develop-merge-up-20190328 2019-03-28 15:09:21 +00:00
David Hall
3f2c753947 MCOL-1822-c final checkin 2019-03-05 09:33:39 -06:00
David Hall
c654e8621e MCOL-1822 interim checkin 2019-02-27 13:09:37 -06:00
David Hall
a2aa4b8479 MCOL-1822 Intermediate checkin. DISTINCT not working. 2019-02-25 14:54:46 -06: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
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
David Hall
c5b9ae11e5 MCOL-1822 add LONG DOUBLE support 2019-01-29 09:55:43 -06:00
Gagan Goel
d1ada75395 MCOL-270 Add support for MEDIUMINT data type 2018-12-30 19:13:16 -05:00
Andrew Hutchings
61579c7177 Revert "MCOL-1624 mcssystemready() does more testing"
This reverts commit 00ce77b742.
2018-11-24 21:52:33 +00:00
Andrew Hutchings
00ce77b742 MCOL-1624 mcssystemready() does more testing
Now checks if system catalog exists and if we can query the system
catalogue in FE mode (and therefore tests ExeMgr and PrimProc).
2018-11-22 21:58:03 +00:00
Andrew Hutchings
f134f05771 Merge pull request #603 from mariadb-corporation/MCOL-1642
MCOL-1642 Add SQL command that shows Primary Front-End MariaDB Column…
2018-11-09 08:14:31 +00:00
David Hall
f34fa290b5 MCOL-1642 Add SQL command that shows Primary Front-End MariaDB ColumnStore Module 2018-11-01 11:04:41 -05:00
Patrick LeBlanc
f3ce845842 MCOL-520. Fixed several instances where we were using a too-new
contructor to ifstream.
2018-10-10 14:58:50 -05:00
David Hill
b7b98a3e1a MCOL-520 2018-09-25 11:32:56 -05:00
David Hill
72f514ca54 MCOL-520 2018-09-21 14:44:12 -05:00
Roman Nozdrin
18143ecaee MCOL-1052 Remove unused symbols. 2018-09-17 16:18:54 +03:00
Roman Nozdrin
aa11707585 MCOL-1052 ExeMgr now logs original queries processed by GROUP BY handler. 2018-09-17 16:17:11 +03:00
Roman Nozdrin
1d0488df33 MCOL-1601 GROUP BY supports subqueries in HAVING(derived tables processed by the server.) 2018-09-17 16:15:10 +03:00
Roman Nozdrin
62f296b443 MCOL-1510 Make changes to allow aggregations as function arguments when build in release mode. See also MDEV-16842. 2018-08-30 16:59:41 +03:00
Andrew Hutchings
03da6df473 Merge branch 'develop-1.1' into 1.1-merge-up-20180817 2018-08-17 16:17:13 +01:00
Andrew Hutchings
52082ebfd5 MCOL-1653 Fix namespace issue
Boost is taken out of global namespace to fix a conflict with MariaDB
10.3. This broke to_string in CentOS. Explicit namespace now used.
2018-08-15 08:30:02 +01:00
Andrew Hutchings
443a2867c4 MCOL-1385 Initial 10.3 support 2018-08-02 14:55:01 +01:00
Andrew Hutchings
4a3f8b77c2 Merge pull request #519 from drrtuy/MCOL-1510
MCOL-1510 GROUP BY handler doesn't support operations on aggregate functions when projecting columns.
2018-07-18 09:34:13 +01:00
Roman Nozdrin
1995e92788 MCOL-1527 CEJ DML statements now return correct number of affected rows. 2018-07-17 20:17:51 +03:00
Roman Nozdrin
cdd9bed1ae MCOL-1510 GROUP BY supports functions with aggregation funcs as arguments in projections, e.g. sum(i)+1. 2018-07-03 18:22:13 +03:00
Andrew Hutchings
8c90419852 Fix merge and coding style issues 2018-06-22 15:31:31 +01:00
Andrew Hutchings
60a4d14e85 Merge pull request #493 from mariadb-corporation/MCOL-1201-b
Mcol 1201 b
2018-06-07 17:40:45 +01:00
David Hall
554e31b4ec MCOL-1201 rebase 2018-06-05 14:14:20 -05:00
David Hall
6fa7dded6f MCOL-1201 manual rebase with develop. Obsoletes branch MCOL-1201 2018-06-05 13:54:17 -05:00
Andrew Hutchings
6948ab85a3 MCOL-1427 Fix microsecond padding for display
We were padding from right, we needed to pad from left.
2018-06-04 19:57:42 +01:00
Andrew Hutchings
1d8964ec0d Fix code style 2018-05-31 14:44:48 +01:00
Roman Nozdrin
1a1f3ea506 MCOL-1449. Fix the regression caused by changes in idborderby code for MCOL-1052. Add LIMIT and OFFSET support for group by handler. 2018-05-31 13:51:21 +03:00
David Hall
82e8ab7518 MCOL-1201 manual rebase with develop. Obsoletes branch MCOL-1201 2018-05-11 09:50:10 -05:00
Andrew Hutchings
1a582eed4a Merge branch 'develop-1.1' into 1.1-merge-up-20180509-a2 2018-05-09 09:20:55 +01:00
Andrew Hutchings
c2b9016430 Merge branch 'develop' into MCOL-1052 2018-05-05 06:29:04 +01:00
Roman Nozdrin
00990ca5bd MCOL-1052 GROUP BY handler returns NULL values properly. 2018-05-03 22:35:41 +03:00
Andrew Hutchings
3c1ebd8b94 MCOL-392 Add initial TIME datatype support 2018-04-30 09:42:41 +01:00
Andrew Hutchings
b584a7f555 MCOL-392 Add DATETIME microscond support
Add initial microsecond support for DATETIME
2018-04-30 09:42:41 +01:00
Roman Nozdrin
fdbf82e48d MCOL-1052 WIP Replace SimpleColumn with ConstantColumn when server pushes equal predicate using cond_push. 2018-04-29 21:13:11 +03:00
Roman Nozdrin
b8f3cb2a98 MCOL-1052 WIP Incorporate a fix for MCOL-1348. Comment on the group_by_handler class. 2018-04-20 20:44:28 +03:00
Roman Nozdrin
33a5969dc3 MCOL-1052 WIP Comment out useless check and restore isUnion value in the group_end(). 2018-04-17 15:05:02 +03:00
Roman Nozdrin
720e1d91b9 MCOL-1052 WIP Clean up the code. 2018-04-11 16:15:12 +03:00