Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/23568 )
Change subject: KUDU-1261 use empty validity vector when no nulls in array ...................................................................... KUDU-1261 use empty validity vector when no nulls in array This changelist updates conventions on supplying and consuming the validity information on array elements in the Kudu C++ client API. With this changelist, an empty validity vector is accepted if all elements in data array to be written are non-null (i.e. valid). The same convention is now used for array data returned as a result of read/scan operation. The Python client has been updated correspondingly. This patch also contains a few new test scenarios to cover the updated functionality. Change-Id: I6f0284a1cdf23234d30d18ae4b9f6ee3a9bd82f4 Reviewed-on: http://gerrit.cloudera.org:8080/23568 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Abhishek Chennaka <[email protected]> --- M python/kudu/client.pyx M src/kudu/cfile/cfile-test-base.h M src/kudu/cfile/cfile_writer.cc M src/kudu/client/array_cell-internal.cc M src/kudu/client/array_cell.h M src/kudu/client/scan_batch.cc M src/kudu/common/array_cell_view.h M src/kudu/common/array_type_serdes-test.cc M src/kudu/common/array_type_serdes.h M src/kudu/common/partial_row-test.cc M src/kudu/common/partial_row.cc M src/kudu/common/row_operations.cc M src/kudu/common/types.h M src/kudu/util/bitmap-test.cc M src/kudu/util/bitmap.cc M src/kudu/util/bitmap.h 16 files changed, 294 insertions(+), 60 deletions(-) Approvals: Alexey Serbin: Verified Abhishek Chennaka: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/23568 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I6f0284a1cdf23234d30d18ae4b9f6ee3a9bd82f4 Gerrit-Change-Number: 23568 Gerrit-PatchSet: 3 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Xuebin Su <[email protected]>
