Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19925 )
Change subject: [tools] KUDU-1945: Kudu table copy and perf loadgen ...................................................................... [tools] KUDU-1945: Kudu table copy and perf loadgen This patch introduces support for 'table copy' CLI tool for the tables with auto-incrementing columns. While scanning the source table, we do not scan the auto incrementing column and while writing back the rows to the destination table, we write all the scanned rows. The auto-incrementing column is then populated at the server side during each row's write. It also adds support for 'perf loadgen' CLI tool to insert into tables with auto incrementing columns. This currently only works with insert and insert_ignore write operation. upsert and upsert_ignore are not supported currently. Change-Id: I754a7e84c16d1f3b2d52be937e1eb50b3d00d759 Reviewed-on: http://gerrit.cloudera.org:8080/19890 Reviewed-by: Alexey Serbin <[email protected]> Tested-by: Kudu Jenkins Reviewed-on: http://gerrit.cloudera.org:8080/19925 Reviewed-by: Yingchun Lai <[email protected]> Tested-by: Yingchun Lai <[email protected]> --- M src/kudu/integration-tests/data_gen_util.cc M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/table_scanner.cc M src/kudu/tools/tool_action_perf.cc 4 files changed, 129 insertions(+), 9 deletions(-) Approvals: Yingchun Lai: Looks good to me, approved; Verified Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/19925 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: branch-1.17.x Gerrit-MessageType: merged Gerrit-Change-Id: I754a7e84c16d1f3b2d52be937e1eb50b3d00d759 Gerrit-Change-Number: 19925 Gerrit-PatchSet: 3 Gerrit-Owner: Yingchun Lai <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Yingchun Lai <[email protected]>
