1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-11 18:21:49 +03:00
Commit Graph

87 Commits

Author SHA1 Message Date
5247dfa082 MCOL-1188 assertion 'fColumn.get() && fSub && fFunc' failed,...
Some cleanup for the previous check-in.
2018-09-04 12:20:40 -07:00
58bc867ca1 MCOL-1188 assertion 'fColumn.get() && fSub && fFunc' failed, ... MySQL server crashed.
The problem was in processing a subquery in the where clause that was categorized as a
CACHE_ITEM in the parse tree. The fix involved how we walk the parse tree in gp_walk().
2018-08-30 20:24:24 -07:00
7ec1ccac5e MCOL-1472 Add switch to handle nested case 2018-07-24 10:16:26 -05:00
5ea9cad2d4 MCOL-1155 Remove try-catch block by an explicit check for a null pointer. 2018-06-26 13:13:59 -07:00
af87f47a8f Fix MCOL-1155 to correctly process the NOT subtree. 2018-06-25 10:25:33 -07:00
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
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
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
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
c83896609d MCOL-1196 add a comment 2018-03-27 15:23:47 -05:00
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
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
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
ae9de1e426 Fix mergeup errors 2017-11-30 15:15:01 +00:00
37f673d121 Merge branch 'develop-1.0' into 1.0-merge-up 2017-11-30 15:09:11 +00:00
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
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
9a012444ec MCOL-963 fix for regressions introduced 2017-11-14 15:25:38 -06:00
97eb46213b MCOL-963 reset infinidb_vtable.isNewQuery upon error. Add redo (REDO_PHASE1) counter. 2017-10-30 18:05:19 -05:00
b70e9b5f67 MCOL-985 Add return code test after call to buildReturnedColumn 2017-10-24 13:49:46 -05:00
16990c8e03 MCOL-985 Add return code test after call to buildReturnedColumn 2017-10-24 13:47:41 -05:00
3b4da1999d MCOL-973 Fix DOUBLE typecast crash
DOUBLE typecast was not supported and the failure detection caused a
crash.

This patch adds support for DOUBLE typecast and fixes the crash caused
when a non-supported function is detected as part of an arithmatic.
2017-10-20 12:42:40 +03:00
5911e677fa MCOL-973 Fix DOUBLE typecast crash
DOUBLE typecast was not supported and the failure detection caused a
crash.

This patch adds support for DOUBLE typecast and fixes the crash caused
when a non-supported function is detected as part of an arithmatic.
2017-10-20 12:38:11 +03:00
cc9edcb54f MCOL-783 Check for recursive cte against all tables in the query. 2017-10-09 15:38:00 -05:00
ff76412f68 MCOL-783 Check for recursive only cte. Check all cte in list. 2017-10-09 15:37:41 -05:00
805300341c MCOL-783 Error not supported for recursive CTE 2017-10-05 11:07:47 -05:00
bc2a4e7795 MCOL-523 Add UDAF and UDAnF SDK 2017-08-02 11:22:07 -05:00
d76c111690 Support ORDER BY NULL 2017-07-11 15:15:11 +01:00
f3f830a9ca Support ORDER BY NULL 2017-07-11 15:14:24 +01:00
4f3968fb36 MCOL-657 Support the <=> operator
This converts <=> into "a = b OR (a IS NULL AND b IS NULL)"
2017-05-09 12:00:06 +01:00
e58333d4f2 MCOL-657 Support the <=> operator
This converts <=> into "a = b OR (a IS NULL AND b IS NULL)"
2017-05-09 11:57:28 +01:00
dc4f38a877 MCOL-686 Fix BETWEEN performance
BETWEEN was executing as a function on each row which meant that extent
elimination couldn't happen. We now execute as a predicate function
instead.
2017-05-08 21:07:39 +01:00
1c2a8fccf3 Merge pull request #164 from mariadb-corporation/MCOL-697
MCOL-697 Limit the return length for LONGBLOB
2017-05-03 17:18:49 -05:00
e03267ae4b MCOL-697 Limit the return length for LONGBLOB
For LONGBLOB the string return length was 4GB for functions which got
converted to -1 and then to 20. This patch sets it to just under 2GB
which we use for LONGBLOB everywhere else.
2017-05-03 21:30:25 +01:00
cb788c0be2 Merge pull request #163 from mariadb-corporation/MCOL-697
MCOL-697 Remove 64KB VARCHAR response limit
2017-05-03 09:43:29 -05:00
de06c48b6c MCOL-697 Remove 64KB VARCHAR response limit
This was a hard coded limit due to StringStore not being able to handle
more than this. It restricts hex() unnecessarily and is now redundant.
2017-05-03 08:07:56 +01:00
d98d40bdb4 Merge pull request #160 from mariadb-corporation/MCOL-686
MCOL-686 Fix BETWEEN performance
2017-05-02 17:10:34 -05:00
057f731713 MCOL-686 Fix BETWEEN performance
BETWEEN was executing as a function on each row which meant that extent
elimination couldn't happen. We now execute as a predicate function
instead.
2017-04-27 17:32:19 +01:00
f6caa88703 MCOL-597 merge with 10.2.5 2017-04-25 16:49:32 -05:00
b9d06e2bf2 MCOL-597 some clean up and make Release builds work 2017-04-21 10:38:51 -05:00
b15f79e8ce MCOL-597 Fix up Windows Functions 2017-04-21 10:38:44 -05:00
324a9fd215 MCOL-597 Fix up Windows Functions 2017-04-21 10:38:44 -05:00
3055964ddc MCOL-597 stabilization 2017-04-21 10:38:44 -05:00
12acd033fb MCOL-597 Take Window Functions just to get a compile. No other changes were needed. 2017-04-21 10:38:44 -05:00
b070ef3217 MCOL-597 some clean up and make Release builds work 2017-04-21 09:48:59 -05:00
d531796bf2 MCOL-597 Fix up Windows Functions 2017-04-21 09:47:56 -05:00
d7da34c249 MCOL-597 Fix up Windows Functions 2017-04-21 09:47:56 -05:00
a3c4503bc9 MCOL-597 stabilization 2017-04-21 09:47:56 -05:00
f9e5b7b507 MCOL-597 Take Window Functions just to get a compile. No other changes were needed. 2017-04-21 09:47:56 -05:00
b60c45a968 MCOL-653 Revert SUM(1) behaviour
SUM(1) behaviour was changed as part of MCOL-301. But the original
behaviour was correct.
2017-03-31 21:48:56 +01:00