Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17598


Change subject: WIP [tools] add --row_count_only and --report_scanner_stats 
flags
......................................................................

WIP [tools] add --row_count_only and --report_scanner_stats flags

This patch updates `kudu table scan` and `kudu perf table_scan` CLI
tools to introduce two new flags:
  * --row_count_only
  * --report_scanner_stats

I also added a few generic test scenarios for the new functionality.

The motivation for this patch the necessity to:
  * have an explicit option to run something similar to
    SELECT COUNT(1) FROM <table_name> when using `kudu perf scan_table`
    and `kudu table scan` CLI tools
  * report on the scanner metrics while running a query like
    SELECT COUNT(1) FROM <table_name>

WIP:
  * make sure the newly added tests pass

Change-Id: Ia64e1a0b26996f0087d2473d15350d590581a69c
---
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/table_scanner.cc
M src/kudu/tools/tool_action_common.cc
M src/kudu/tools/tool_action_perf.cc
M src/kudu/tools/tool_action_table.cc
5 files changed, 114 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/98/17598/1
--
To view, visit http://gerrit.cloudera.org:8080/17598
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia64e1a0b26996f0087d2473d15350d590581a69c
Gerrit-Change-Number: 17598
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to