MDEV-22534 Decorrelate IN subquery
Transform in (select inner_col' from inner_table where inner_col = outer_col) to , outer_col in (select inner_col', inner_col from inner_table) Achieved by implementing Item_in_subselect::exists2in_processor(), accompanied with comprehensive test coverage. Factored out common code between the two transformations. Caveat: - Cannot recognise bad item mismatch in equalities that causes materialization to not materialize down the road
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment