alamb commented on issue #219:
URL: 
https://github.com/apache/arrow-datafusion/issues/219#issuecomment-829202935


   This also might relate to 
https://github.com/apache/arrow-datafusion/issues/96 (to add graphviz output 
somehow to explain plan)
   
   It would probably also be nice to improve the default physical plan explain 
plan so it didn't try and print out all low level details too.
   
   For example, an `explain verbose` today is both verbose and hard to read.
   
   ```
   Query execution complete in 700.985811ms
   844910ece80be8bc_apps> explain verbose select redis_version, 
used_memory_peak from redis limit 10;
   
+-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
   | plan_type                               | plan                             
                                                                                
          |
   
+-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
   | logical_plan                            | Limit: 10                        
                                                                                
          |
   |                                         |   Projection: #redis_version, 
#used_memory_peak                                                               
             |
   |                                         |     TableScan: redis 
projection=None                                                                 
                      |
   | logical_plan after projection_push_down | Limit: 10                        
                                                                                
          |
   |                                         |   Projection: #redis_version, 
#used_memory_peak                                                               
             |
   |                                         |     TableScan: redis 
projection=Some([67, 99])                                                       
                      |
   | logical_plan after projection_push_down | Limit: 10                        
                                                                                
          |
   |                                         |   Projection: #redis_version, 
#used_memory_peak                                                               
             |
   |                                         |     TableScan: redis 
projection=Some([67, 99])                                                       
                      |
   | physical_plan                           | GlobalLimitExec {                
                                                                                
          |
   |                                         |     input: LocalLimitExec {      
                                                                                
          |
   |                                         |         input: ProjectionExec {  
                                                                                
          |
   |                                         |             expr: [              
                                                                                
          |
   |                                         |                 (                
                                                                                
          |
   |                                         |                     Column {     
                                                                                
          |
   
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to