Surya Hebbar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23889


Change subject: IMPALA-12027: Support additional details for DataSink nodes in 
ExecSummary
......................................................................

IMPALA-12027: Support additional details for DataSink nodes in ExecSummary

In the 'Exec Summary' table, we currently show table names, joins and
other details for different types of `PlanNode`s with the help of
`label_detail` field in the thrift representation(i.e. `TPlanNode`).

This field is currently unavailable for any type of `DataSink` nodes.

With this change, we support displaying table names and other details
for table sink nodes and other such `DataSink` nodes by adding the
`label_detail` field into `TDataSink`.

This information is displayed in the last column of the ExecSummary,
similar to how we show the table names for scan nodes.

Operator     #Hosts  #Inst   Avg Time   Max Time ... ... Detail
-----------------------------------------------------------
F00:HDFS WRITE    1      1   13.122us   13.122us ... ... tpcds.write_table
83:AGGREGATE      1      1  164.615us  164.615us ... ...
32:SCAN HDFS      1      1   45.919us   45.919us ... ... tpcds.scan_table
...
...

With the same approach, additional details can be displayed by extending
this to other types of data sink nodes such as JoinBuildSink nodes.

Change-Id: I2652dd896f72c5c6bbe7e76facdede2a237808d5
---
M be/src/runtime/coordinator.cc
M common/thrift/DataSinks.thrift
M fe/src/main/java/org/apache/impala/planner/DataSink.java
M fe/src/main/java/org/apache/impala/planner/DataStreamSink.java
M fe/src/main/java/org/apache/impala/planner/JoinBuildSink.java
M fe/src/main/java/org/apache/impala/planner/MultiDataSink.java
M fe/src/main/java/org/apache/impala/planner/PlanRootSink.java
M fe/src/main/java/org/apache/impala/planner/TableSink.java
8 files changed, 37 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/89/23889/1
--
To view, visit http://gerrit.cloudera.org:8080/23889
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2652dd896f72c5c6bbe7e76facdede2a237808d5
Gerrit-Change-Number: 23889
Gerrit-PatchSet: 1
Gerrit-Owner: Surya Hebbar <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>

Reply via email to