Song Jiacheng has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20327


Change subject: KUDU-3495 Initialize the bitmap while decoding insert/upsert
......................................................................

KUDU-3495 Initialize the bitmap while decoding insert/upsert

The upsert request with an old client schema might lead to
unexpected result eventually.

If client A open a table first and then client B add a column
to the table, the upsert request of client A might set the
newly added column to default value.

The reason is that we did not initialize the tablet_isset_bitmap
while decoding the insert or upsert requests.

A user does not want to change the column which he did not request
to even if the client schema is not correct, so initialize the bitmap.

Change-Id: I38a33cb58a085bc83854c5145e904c8ed51092a8
---
M src/kudu/common/row_operations.cc
1 file changed, 4 insertions(+), 0 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I38a33cb58a085bc83854c5145e904c8ed51092a8
Gerrit-Change-Number: 20327
Gerrit-PatchSet: 1
Gerrit-Owner: Song Jiacheng <[email protected]>

Reply via email to