Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Major
 - 
    Resolution: Duplicate
 - 
    10.5.11, 10.5.12, 10.6, 10.3(EOL), 10.4(EOL), 10.5(EOL), 10.7(EOL)
 - 
    None
 - 
    Centos7
 
Description
There is a bug with split_materialized.
When optimizer_switch='split_materialized=on'; the attached query returns very wrong results. After disabling the split_materialized, it returns the correct results. 
This bug starts in 10.5.10, which is the version that includes the fixes from 10.4.19. 10.4.19 includes MDEV-25128 fix which could be a blame option. The bug does not happen in 10.5.9.
I've attached the .sql to reproduce the bug.
Attachments
Issue Links
- duplicates
 - 
                    
MDEV-27132 Wrong result from query when using split optimization
-         
 - Closed
 
 -         
 - 
                    
MDEV-27510 Query returns wrong result when using split optimization
-         
 - Closed
 
 -