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

1013 Commits

Author SHA1 Message Date
David Hall
82e8ab7518 MCOL-1201 manual rebase with develop. Obsoletes branch MCOL-1201 2018-05-11 09:50:10 -05:00
Andrew Hutchings
fbf2f2e979 MCOL-1403 Remove whitespace trimming on constants
This appears to be to fix equality matches in InfiniDB but at the same
time it breaks LIKE processing. Equality matching with trailing
whitespace was fixed in MCOL-1246 so the old InfiniDB patch can be
removed.
2018-05-10 17:35:38 +01:00
Andrew Hutchings
6c22502cb9 More fixes due to bad merging 2018-05-09 09:55:24 +01:00
Andrew Hutchings
bb06ac4de4 Fix another merge error 2018-05-09 09:47:07 +01:00
Andrew Hutchings
1ac28c4f26 Fix indentation 2018-05-09 09:28:30 +01:00
Andrew Hutchings
1a582eed4a Merge branch 'develop-1.1' into 1.1-merge-up-20180509-a2 2018-05-09 09:20:55 +01:00
Roman Nozdrin
b9f2b55484 MCOL-1384 Parser accepts quotes with qualified dbobject identifiers. 2018-05-07 11:56:54 +03: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
David.Hall
69519426be Merge pull request #460 from mariadb-corporation/MCOL-1349
MCOL-1349 Fix outer joins in views
2018-05-02 10:14:48 -05:00
Andrew Hutchings
0b32f95dac MCOL-1349 Fix outer joins in views
Outer join handling inside views was broken due to the joins being
processed twice. This patch brings back the code so that outer joins in
views are only processed once.
2018-05-02 15:26:01 +01:00
Andrew Hutchings
c40903de9b MCOL-392 Apply astyle
Make this branch apply our style guidelines
2018-05-01 09:52:26 +01:00
Ravi Prakash
fda6b35243 More change for MCOL-1229. Do not throw an exception but return an error code. 2018-04-30 10:39:13 -07:00
Andrew Hutchings
957dc44615 MCOL-392 Function fixes
Fixes most of the functions in funcexp so that time and datetime's
microseconds are handled correctly
2018-04-30 09:42:41 +01: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
Andrew Hutchings
b58122589b Merge branch 'develop-1.1' into dev-merge-up-20180430 2018-04-30 08:51:58 +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
Ravi Prakash
1bcc8a3052 MCOL-1229 - IS.columnstore_columns crashes when DDL is simultaneously executing.
The crash was due to an attempt to iterate over the columns of a recently dropped table.
Such a table will now be ignored.
2018-04-28 14:48:13 -07:00
Roman Nozdrin
f8c08f8b0b MCOL-1052 WIP Fixed ORDER BY NULL query processing by group_by_handler. 2018-04-22 23:45:36 +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
Andrew Hutchings
0c6dc5e15c MCOL-1341 Fix CASE handling with 10.2.14
MariaDB Server 10.2.14 changed the order that CASE items are processed.
This broke the engine's CASE handling. This patch uses the new order
instead since this is what will be used in 10.2 and 10.3 going forward.
2018-04-16 19:21:28 +01:00
Roman Nozdrin
5d48ddb158 MCOL-1052 CS group_by_handler now uses CS internal sorting. 2018-04-16 16:51:42 +03:00
david hill
0ea35564f0 MCOL-520 - remove sudo command 2018-04-12 10:49:09 -05:00
Roman Nozdrin
720e1d91b9 MCOL-1052 WIP Clean up the code. 2018-04-11 16:15:12 +03:00
Roman Nozdrin
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
Roman Nozdrin
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
Roman Nozdrin
05bca5382d MCOL-1052 WIP HAVING filter works. Decline non GROUP BY fields not presented in the ORDER BY list with error. 2018-04-10 04:27:08 +03:00
Andrew Hutchings
280dcb44bf Merge branch 'develop-1.1' into dev-merge-up-20180409 2018-04-09 19:15:18 +01:00
Roman Nozdrin
6bd13849b2 MCOL-1052 WIP Use SELECT fields referenced in HAVING items list. 2018-04-07 04:46:34 +03:00
Roman Nozdrin
617ff85b94 MCOL-1052 WIP Working with HAVING over agg functions problem. 2018-04-05 17:20:26 +03:00
David Hall
fa43a962a8 MCOL-1325 rename table fails when database different than current database 2018-04-04 15:56:53 -05:00
David Hall
aa581b5dc3 MCOL-1234 Nested CASE filters not processed
Change the way buildCaseFunction() handles the ptWorkStack and the rcWorkStack.
2018-04-02 17:02:54 -05:00
Roman Nozdrin
78aeedb162 MCOL-1052 WIP Process UNION subqueries separetely. 2018-04-02 15:03:59 +03:00
Roman Nozdrin
d562caecba MCOL-1052 Generate and send CSEP to and receive set data from ExeMgr. 2018-03-31 22:38:18 +03:00
Roman Nozdrin
a47f16054d MCOL-1052 Use existed getSelectPlan as a basis for group_by_handler plan generation. 2018-03-30 19:07:33 +03:00
David Hall
c83896609d MCOL-1196 add a comment 2018-03-27 15:23:47 -05:00
David Hall
73b1ac68fa MCOL-1196 Error when using OR in case THEN portion
In ha_calpont_execplan, Allow OR to be parsed; in searched_case parsing, reverse the order of processing arguments so that ptWorkStack.pop() is executed in the same order as the arguments being processed.

In func_case, modify to pass left and right to getBoolVal, if they exist.
2018-03-27 12:43:43 -05:00
Roman Nozdrin
fa4067b6f0 MCOL-1052 Generate execution plan for a aggregated function query call. 2018-03-27 18:37:00 +03:00
Roman Nozdrin
cff504c8bf MCOL-1052. init_scan() initial implementation. 2018-03-22 17:12:56 +03:00
Roman Nozdrin
a03ecb7a8e MCOL-1052. The handler returns fixed value. 2018-03-19 20:45:21 +03:00
Roman Nozdrin
e14b327a57 MCOL-1052: Skeleton for group_by_handler for CS. 2018-03-17 14:06:23 +03:00
Andrew Hutchings
bd71dd1d7a MCOL-1084 Fix TABLE_USAGE() when dict is 0 bytes
Dict size of 0 bytes returns NULL which means that the total count is 0.
This fix uses COALESCE to stop this happening.
2018-02-24 18:34:59 +00:00
Andrew Hutchings
21d8f04a65 Merge branch 'develop-1.1' into 1.1-mergeup-20180224 2018-02-24 11:07:24 -05:00
Andrew Hutchings
54dea02f2a Fix view alias regression
An unneeded change from the fix for MCOL-1070 that broke vTpch01b.sql
2018-02-14 16:43:19 +00:00
Andrew Hutchings
c6e2a952f0 MCOL-1210 Allow procs to be called from any schema
The columnstore_info procs could only be called from within
columnstore_info due to them assuming format_filesize() is local. This
patch calls format_filesize() with an explicit schema allowing it to
work correctly.
2018-02-09 09:45:49 +00:00
Roman Nozdrin
7c0086c920 MCOL-876. CS now partially supports RENAME TABLE statement. 2018-02-07 09:31:11 +03:00
benthompson15
05431bf705 Merge pull request #389 from mariadb-corporation/MCOL-962
Mcol 962
2018-02-05 15:55:59 -06:00
Andrew Hutchings
0d7c0f7ae4 Merge branch 'develop-1.1' into dev-merge-up-20180202 2018-02-02 14:53:36 +00:00