kangkaisen opened a new pull request #250: Fix InsertStmt explain bug
URL: https://github.com/apache/incubator-doris/pull/250
 
 
   Currently,  `explain insert into t1 SelectStmt` output is empty.
   
   After fixing this bug, `explain insert into t1 select * from t2;` output is 
following:
   
   ```
   
+----------------------------------------------------------------------------------------------------------------------+
   | Explain String                                                             
                                          |
   
+----------------------------------------------------------------------------------------------------------------------+
   | PLAN FRAGMENT 0                                                            
                                          |
   |  OUTPUT EXPRS:`default_cluster:test.t2`.`dt` | 
`default_cluster:test.t2`.`id` | `default_cluster:test.t2`.`value` |  |
   |   PARTITION: RANGE_PARTITIONED: <slot 0>                                   
                                          |
   |                                                                            
                                          |
   |   DPP SINK                                                                 
                                          |
   |     TABLE NAME: t1                                                         
                                          |
   |     PARTITIONS: 10008, 10009, 10010                                        
                                          |
   |                                                                            
                                          |
   |   2:EXCHANGE                                                               
                                          |
   |      tuple ids: 0                                                          
                                          |
   |                                                                            
                                          |
   | PLAN FRAGMENT 1                                                            
                                          |
   |  OUTPUT EXPRS:                                                             
                                          |
   |   PARTITION: RANDOM                                                        
                                          |
   |                                                                            
                                          |
   |   STREAM DATA SINK                                                         
                                          |
   |     EXCHANGE ID: 02                                                        
                                          |
   |     RANGE_PARTITIONED: <slot 0>                                            
                                          |
   |                                                                            
                                          |
   |   1:OLAP REWRITE NODE                                                      
                                          |
   |   |  tuple ids: 0                                                          
                                          |
   |   |                                                                        
                                          |
   |   0:OlapScanNode                                                           
                                          |
   |      TABLE: t2                                                             
                                          |
   |      PREAGGREGATION: ON                                                    
                                          |
   |      partitions=1/1                                                        
                                          |
   |      rollup: t2                                                            
                                          |
   |      buckets=10/10                                                         
                                          |
   |      cardinality=2                                                         
                                          |
   |      avgRowSize=1889.4286                                                  
                                          |
   |      tuple ids: 1                                                          
                                          |
   
+----------------------------------------------------------------------------------------------------------------------+
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to