[MCOL-4574] Move all MDB rewrites MCS needs into the plugin Created: 2021-03-03  Updated: 2021-06-04  Resolved: 2021-06-04

Status: Closed
Project: MariaDB ColumnStore
Component/s: MDB Plugin
Affects Version/s: 5.5.1
Fix Version/s: 6.3.1

Type: Task Priority: Major
Reporter: Roman Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Relates
relates to MCOL-4525 Implement select_handler=AUTO Closed

 Description   

Columnstore depends on a number of handy rewrites that MDB does, namely outter to inner join rewrite, IN into EXISTS conversion for IN + subquery.
This dependency affects Columnstore, namely we can't easily implement execution path fallback b/c the mentioned rewrites change some parts of SELECT_LEX that represents the query from the perspective of MDB.
The named rewrites must be either applied on top of CSEP after we translate from SELECT_LEX into CSEP or whilst translating inside getSelectPlan(). The former is preferable b/c the rewrites code can be reused or moved easily.



 Comments   
Comment by Gagan Goel (Inactive) [ 2021-06-04 ]

The rewrites are done as 2 subtasks of MCOL-4525: MCOL-4617 and MCOL-4665

Generated at Thu Feb 08 02:51:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.