Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12027

Display table names of TableSink nodes in ExecSummary

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Frontend
    • ghx-label-6

    Description

      In the last column of the ExecSummary, we show the table names for ScanNodes, etc:

      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

      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
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: