Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
2025-7, 2025-8
Description
Consider example:
set columnstore_unstable_optimizer=on;
|
set @@optimizer_switch='derived_merge=off';
|
select calsettrace(1);
|
select count(*) from lineitem l where exists (select * from lineitem la where
|
l.l_orderkey=la.l_orderkey);
|
Here is the actual error that tells either ExistsFilter CSEP is not considered by RBO or JOIN filter predicate is not updated by parallel CSE apply routine.
MariaDB [test]> select count(*) from lineitem l where exists (select * from lineitem la where
|
l.l_orderkey=la.l_orderkey);
|
ERROR 1815 (HY000): Internal error: MCS-1000: 'sub-query' and 'l, sub-query' are not joined.
|