seawinde opened a new pull request, #39998:
URL: https://github.com/apache/doris/pull/39998

   ## Proposed changes
   
   Optimize the explain materialized view info, add double horizontal dividing 
line between `MATERIALIZATIONS` and
   `STATISTICS`. Maybe think rewrite fail because` planed with unknown column 
statistics `, actually is rewrite successfully.
   **Before:**
   ```text
   | ========== MATERIALIZATIONS ==========                                     
                                                                                
                                                                                
           |
   |                                                                            
                                                                                
                                                                                
           |
   | MaterializedView                                                           
                                                                                
                                                                                
           |
   | MaterializedViewRewriteSuccessAndChose:                                    
                                                                                
                                                                                
           |
   |   internal#regression_test_nereids_rules_p0_mv_agg_with_roll_up#mv13_1 
chose,                                                                          
                                                                                
               |
   |                                                                            
                                                                                
                                                                                
           |
   | MaterializedViewRewriteSuccessButNotChose:                                 
                                                                                
                                                                                
           |
   |   not chose: none,                                                         
                                                                                
                                                                                
           |
   |                                                                            
                                                                                
                                                                                
           |
   | MaterializedViewRewriteFail:                                               
                                                                                
                                                                                
           |
   |                                                                            
                                                                                
                                                                                
           |
   | Statistics                                                                 
                                                                                
                                                                                
           |
   |  planed with unknown column statistics     
   ```
   
   **After:**
   ```text
   | ========== MATERIALIZATIONS ==========                                     
                                                                                
                                                                                
           |
   |                                                                            
                                                                                
                                                                                
           |
   | MaterializedView                                                           
                                                                                
                                                                                
           |
   | MaterializedViewRewriteSuccessAndChose:                                    
                                                                                
                                                                                
           |
   |   internal#regression_test_nereids_rules_p0_mv_agg_with_roll_up#mv13_1 
chose,                                                                          
                                                                                
               |
   |                                                                            
                                                                                
                                                                                
           |
   | MaterializedViewRewriteSuccessButNotChose:                                 
                                                                                
                                                                                
           |
   |   not chose: none,                                                         
                                                                                
                                                                                
           |
   |                                                                            
                                                                                
                                                                                
           |
   | MaterializedViewRewriteFail:                                               
                                                                                
                                                                                
           |
   |                                                                            
                                                                                
                                                                                
           |
   |                                                                            
                                                                                
                                                                                
           |
   | ========== STATISTICS ==========                                           
                                                                                
                                                                                
           |
   | planed with unknown column statistics  
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to