Will Berkeley has submitted this change and it was merged. Change subject: KUDU-1680 - [python] Improve PartialRow Usability ......................................................................
KUDU-1680 - [python] Improve PartialRow Usability The current semantics for setting values in a PartialRow are not very elegant or comfortable for Python developers. This patch improves this API by providing the ability to "load" a PartialRow from a list, tuple or dictionary. Some existing tests were modified, however, some tests will continue to use the old API to ensure backwards compatibility. Change-Id: I5c9f57358e5048528398818fc80f32b27531a423 Reviewed-on: http://gerrit.cloudera.org:8080/4760 Tested-by: Kudu Jenkins Reviewed-by: Will Berkeley <wdberke...@gmail.com> --- A python/kudu/client.pxd M python/kudu/client.pyx M python/kudu/compat.py M python/kudu/schema.pxd M python/kudu/schema.pyx M python/kudu/tests/test_client.py M python/kudu/tests/test_scanner.py M python/kudu/tests/test_scantoken.py M python/kudu/tests/util.py 9 files changed, 248 insertions(+), 83 deletions(-) Approvals: Will Berkeley: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/4760 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5c9f57358e5048528398818fc80f32b27531a423 Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Jordan Birdsell <jordantbirds...@gmail.com> Gerrit-Reviewer: David Ribeiro Alves <dral...@apache.org> Gerrit-Reviewer: Jordan Birdsell <jordantbirds...@gmail.com> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Will Berkeley <wdberke...@gmail.com>