Xiaomeng Zhang has uploaded a new patch set (#2). (
http://gerrit.cloudera.org:8080/14660 )
Change subject: IMPALA-9090 Add name of table being scanned in scan node profile
......................................................................
IMPALA-9090 Add name of table being scanned in scan node profile
Before this change, the only way to figure out the table being scanned
by a scan node in the profile is to pull the string out of the explain
plan or execsummary. This is awkward, both for manual and automated
analysis of the profiles. We should include the table name as a string
in the SCAN_NODE implementation.
After this change, a new line "Table Name: database.table" will be added
in first line of scan node profile.
Manually tested on mini-cluster with:
1. hdfs and s3 table with file format text and parquet "test.hdfs_table",
it would show as "test.hdfs_table".
2. hbase table "test.hbase_table", if create with TBLPROPERTIES
("hbase.table.name" = "xyz", "hbase.mapred.output.outputtable" = "xyz")
it would show as "test.xyz"; if not, it would show as
"test.test.hbase_table".
3. kudu table "test.kudu_table", it would show as
"test.impala::test.kudu_table".
Change-Id: If5da1112bcf38ae55b89eccfd7c7fad860819a99
---
M be/src/exec/hbase-scan-node.cc
M be/src/exec/hdfs-scan-node-base.cc
M be/src/exec/kudu-scan-node-base.cc
3 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/60/14660/2
--
To view, visit http://gerrit.cloudera.org:8080/14660
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If5da1112bcf38ae55b89eccfd7c7fad860819a99
Gerrit-Change-Number: 14660
Gerrit-PatchSet: 2
Gerrit-Owner: Xiaomeng Zhang <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Xiaomeng Zhang <[email protected]>