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

39 Commits

Author SHA1 Message Date
dac290b755 Build an aggregate column from the extended select list in
the group by handler.
2019-09-25 10:42:39 -04:00
f5af10a0c4 1. For BETWEEN/IN functions in the SELECT clause, build a function column
2. CASE function should return false when it evaluates to NULL (e.g. due to absense of ELSE clause)

3. Set the operation type of IN function to varchar if all parameters are char/varchar/text
2019-08-18 21:23:41 -04:00
08b1c69905 MCOL-3416 Revived MULT_EQUAL_FUNC support in conditions.
Removed unused symbol from DML code of the plugin.
2019-08-14 17:01:59 +03:00
196a50ef11 Merge pull request #815 from pleblanc1976/corporaton
Mass substitution 'Corporaton' -> 'Corporation'
2019-08-13 08:34:39 +01:00
f0c83a4a1f MCOL-2178 Enable GBH by default.
We preserve union related condition blocks until UNION-capable smart handler.

    Removed a number of commented code blocks.

    Add projection list REAL and TIME constants, e.g
        SELECT TIME'10:20:30',  TIMESTAMP'2001-01-01 10:20:30',  DATE'2001-01-01' FROM cs1;

    Marked potentially useless block in ORDER BY processing for future removal.

    Removed string variables used for reconstructed query in the pre-1.4 fork.

    Removed cp_get_plan().

    GBH doesn't step in if SH processes the query.

    All smart handlers now correctly processes impossible WHERE and HAVING.
2019-08-12 21:02:32 +03:00
a09a9d5d0f Mass substitution 'Corporaton' -> 'Corporation' 2019-08-07 14:43:25 -05:00
1c460f3ba5 MCOL-2178 Cleanup of MIGR:: singleton from the plugin code.
Disable SP execution by the smart handlers for now.

    Add session variables to Enable/Disable select/derived/group_by
    handlers. Defaulted to Enable.
2019-08-04 21:50:50 -04:00
b4d1cbc529 MCOL-2178 upstream merge forces to add explicit namespaces.
Add a magic value check to avoid cleanup procedures only
    if needed.
2019-08-01 14:09:35 -04:00
2071716ebd MCOL-2121 New derived_handler(MDEV-17096) infrastructure.
Renamed isInfiniDB() into isMCSTable

    Changed getSelectPlan() to reuse it with derived and
        other handler types.

    Separate pushdown handlers methods and functions.

    Removed vcxproj files from the source.

    Added fix for MCOL-2166.

    Merged with MCOL-2121
2019-08-01 12:54:17 -04:00
5e4f1b9933 Merge branch 'develop' into MCOL-265 2019-06-10 13:58:03 +01:00
784bbe09d4 Merge branch 'develop-1.2' into develop-merge-up-20190425 2019-04-25 10:27:59 +01:00
e89d1ac3cf MCOL-265 Add support for TIMESTAMP data type 2019-04-23 00:00:09 -04:00
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
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
971055a473 MCOL-1101. PoC for INFINIDB_VTABLE and thd variables migration to plugin sys variables. 2019-02-13 22:09:55 +03:00
1d0488df33 MCOL-1601 GROUP BY supports subqueries in HAVING(derived tables processed by the server.) 2018-09-17 16:15:10 +03:00
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
03da6df473 Merge branch 'develop-1.1' into 1.1-merge-up-20180817 2018-08-17 16:17:13 +01:00
7ec1ccac5e MCOL-1472 Add switch to handle nested case 2018-07-24 10:16:26 -05:00
a62a2e321e MCOL-1510 CS prints IDB-1001 error when agregates used in non-supported functions, e.g. NOT(sum(i)). 2018-07-12 14:25:46 +03:00
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
1a582eed4a Merge branch 'develop-1.1' into 1.1-merge-up-20180509-a2 2018-05-09 09:20:55 +01:00
fdbf82e48d MCOL-1052 WIP Replace SimpleColumn with ConstantColumn when server pushes equal predicate using cond_push. 2018-04-29 21:13:11 +03:00
ba38e392fc MCOL-1052 WIP Uses item_ptr instead of auxilary vector; Changes fetchNextRow() interface and remove unused funcs; Uncomment extra checks in ha_calpont_impl_group_by_init(). 2018-04-11 15:52:26 +03:00
5a0ff2bb60 MCOL-1052 WIP group_by_handler processes agg functions in ORDER BY now. debug_walk() outputs information about extended SELECT list items. 2018-04-10 18:55:19 +03:00
6bd13849b2 MCOL-1052 WIP Use SELECT fields referenced in HAVING items list. 2018-04-07 04:46:34 +03:00
617ff85b94 MCOL-1052 WIP Working with HAVING over agg functions problem. 2018-04-05 17:20:26 +03:00
d562caecba MCOL-1052 Generate and send CSEP to and receive set data from ExeMgr. 2018-03-31 22:38:18 +03:00
a47f16054d MCOL-1052 Use existed getSelectPlan as a basis for group_by_handler plan generation. 2018-03-30 19:07:33 +03:00
fa4067b6f0 MCOL-1052 Generate execution plan for a aggregated function query call. 2018-03-27 18:37:00 +03:00
01446d1e22 Reformat all code to coding standard 2017-10-26 17:18:17 +01:00
25851df89d Add support for zero date separate to NULL
NULL is now pushed through the MariaDB storage engine plugin down to the
insert processing. A '0000-00-00' date is now a separate value to NULL.

This is more in-line with MariaDB's handling.
2016-08-30 16:26:36 +01:00
539e524ad4 name change from InfiniDB in comments 2016-07-26 09:24:46 -05:00
d8c4f4f1cf Set up so that configure --with-debug works 2016-06-28 16:27:46 -05:00
e9d96ddc85 copyright additions 2016-06-01 20:03:20 -05:00
3a6d4c3fd2 Revert "copyright name change"
This reverts commit 7000f6e4f2.
2016-06-01 17:54:28 -05:00
7000f6e4f2 copyright name change 2016-06-01 14:54:11 -05:00
353ec57908 Changes needed for Item::CACHE_ITEM 2016-02-29 18:01:22 -06:00
f6afc42dd0 the begginning 2016-01-06 14:08:59 -06:00