Alexey Serbin has submitted this change and it was merged. Change subject: [sys_catalog] no copying into intermediate KuduPartialRow ......................................................................
[sys_catalog] no copying into intermediate KuduPartialRow Use KuduPartialRow::SetStringNoCopy() instead of KuduPartialRow::SetString() while setting fields for the system catalog table. Copying the data into the intermediate KuduPartialRow object is not necessary: the intermediate object is not used once the data is encoded into the result WriteRequestPB via RowOperationsPBEncoder. Change-Id: I0dbcb822d8f85e1101846409e90e2e5af0afc4f3 Reviewed-on: http://gerrit.cloudera.org:8080/6315 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: David Ribeiro Alves <[email protected]> --- M src/kudu/master/sys_catalog.cc 1 file changed, 10 insertions(+), 8 deletions(-) Approvals: David Ribeiro Alves: Looks good to me, approved Alexey Serbin: Verified -- To view, visit http://gerrit.cloudera.org:8080/6315 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0dbcb822d8f85e1101846409e90e2e5af0afc4f3 Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]>
