Details
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():