Quanlong Huang created IMPALA-12027:
---------------------------------------

             Summary: Display table names of TableSink nodes in ExecSummary
                 Key: IMPALA-12027
                 URL: https://issues.apache.org/jira/browse/IMPALA-12027
             Project: IMPALA
          Issue Type: New Feature
          Components: Frontend
            Reporter: Quanlong Huang


In the last column of the ExecSummary, we show the table names for ScanNodes, 
etc:
{noformat}
Operator              #Hosts  #Inst  Avg Time  Max Time  #Rows  Est. #Rows   
Peak Mem  Est. Peak Mem  Detail                        
------------------------------------------------------------------------------------------------------------------------------------
F01:HDFS WRITER            6      6     28m2s    29m23s                     
297.39 MB        1.00 GB                                
02:SORT                    6      6       35m     39m7s  3.93B     688.79M   
79.29 GB       14.97 GB                                
01:EXCHANGE                6      6  23s918ms  26s258ms  4.30B     688.79M   
14.56 MB       10.84 MB  HASH(cs_sold_date_sk)         
F00:EXCHANGE SENDER        6      6     7m42s        8m                     
173.25 KB              0                                
00:SCAN HDFS               6      6   9s452ms  14s084ms  4.30B     688.79M  
991.19 MB        3.44 GB  tpcds_3000_text.catalog_sales{noformat}
The above example comes from an INSERT query. It'd be useful to also show the 
table names for TableSink operators. We just need overrides on 
PlanNode#getDisplayLabelDetail():

[https://github.com/apache/impala/blob/35fe1f37f5656e615466504129c7550089f1773d/fe/src/main/java/org/apache/impala/planner/PlanNode.java#L292]

[https://github.com/apache/impala/blob/35fe1f37f5656e615466504129c7550089f1773d/fe/src/main/java/org/apache/impala/planner/ScanNode.java#L305]
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to