[MDEV-23791] Segregate some of optimizer rewrites into separate functions Created: 2020-09-22  Updated: 2022-09-13  Resolved: 2022-09-13

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - ColumnStore
Fix Version/s: 10.8.1

Type: Task Priority: Major
Reporter: Roman Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: smart_engine

Issue Links:
Relates
relates to MDEV-23860 Move all optimization query re-writes... 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. However MCS doesn't tolerate full JOIN::optimize processing b/c of an internal limitation in JOIN processing(the join graph must be acyclic).
We need a new dedicated optimize() method in Select Handler that must replace JOIN::optimize() call. This method must be able to call dedicated functions that can apply rewrites listed above.



 Comments   
Comment by Roman [ 2022-09-13 ]

We moved all the rewrites needed into Columnstore plugin code.

Generated at Thu Feb 08 09:25:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.