Roman Nozdrin
80fc93c9df
MCOL-1510 GROUP BY supports aggregates as arguments in numerical functions.
2018-07-09 18:36:28 +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
Ravi Prakash
5ea9cad2d4
MCOL-1155 Remove try-catch block by an explicit check for a null pointer.
2018-06-26 13:13:59 -07:00
Ravi Prakash
af87f47a8f
Fix MCOL-1155 to correctly process the NOT subtree.
2018-06-25 10:25:33 -07:00
Roman Nozdrin
f53cc73517
MCOL-1497 GROUP BY handler supports outer joins now.
2018-06-24 11:49:52 +03:00
Roman Nozdrin
0c98a9e745
MCOL-1457 GROUP BY handler supports aliases of projected columns in ORDER BY list.
2018-06-24 11:49:44 +03:00
Roman Nozdrin
0c113f2bb3
MCOL-1497 GROUP BY handler supports outer joins now.
2018-06-23 23:03:39 +03:00
Andrew Hutchings
8c90419852
Fix merge and coding style issues
2018-06-22 15:31:31 +01:00
Roman Nozdrin
f650db2d10
MCOL-1457 GROUP BY handler supports aliases of projected columns in ORDER BY list.
2018-06-21 14:15:01 +03:00
David Hall
5b3db71c8f
MCOL-1201 fix some regressions
2018-06-06 10:34:35 -05:00
David Hall
ec3a3846c3
MCOL-1201 manual rebase with develop. Obsoletes branch MCOL-1201
2018-06-05 14:06:58 -05:00
David Hall
c8c3b23e32
MCOL-1201 Modify docs. Fix group concat bug
2018-06-05 13:54:17 -05:00
David Hall
06e9772310
MCOL-1201 some fixes from testing
2018-06-05 13:54:17 -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
1d8964ec0d
Fix code style
2018-05-31 14:44:48 +01:00
Andrew Hutchings
53f281933a
Merge branch 'develop-1.1' into 1.1-merge-up-20180531
2018-05-31 14:43:52 +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
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
Andrew Hutchings
c2b9016430
Merge branch 'develop' into MCOL-1052
2018-05-05 06:29:04 +01: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
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
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
Roman Nozdrin
f8c08f8b0b
MCOL-1052 WIP Fixed ORDER BY NULL query processing by group_by_handler.
2018-04-22 23:45:36 +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
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
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
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
6f4cfcdc3b
MCOL-1070 Fix exists in view subquery
...
When ExeMgr processes a correlated exists filter for a subquery inside a
view the de-duplication check doesn't work. We sometimes check unique
with the view name, sometimes not. We don't need the view name here so
remove it if we don't have it.
Also push the view name in the subquery.
2018-02-02 10:04:47 +00:00
Andrew Hutchings
ae9de1e426
Fix mergeup errors
2017-11-30 15:15:01 +00:00
Andrew Hutchings
37f673d121
Merge branch 'develop-1.0' into 1.0-merge-up
2017-11-30 15:09:11 +00:00
Andrew Hutchings
932819ba23
Merge branch 'develop-1.1' into merge-up-dev
2017-11-24 11:10:09 +02:00
Andrew Hutchings
d60bc999c6
MCOL-1029 Skip cached conditions
...
Cached conditions are things like (TRUE OR FALSE). They don't actually
add any value to the query and were breaking our working stack trying to
process them.
2017-11-20 16:06:21 +00:00
Andrew Hutchings
98138fe493
MCOL-1029 Skip cached conditions
...
Cached conditions are things like (TRUE OR FALSE). They don't actually
add any value to the query and were breaking our working stack trying to
process them.
2017-11-20 16:04:20 +00:00