Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/10968 )
Change subject: schema: add is_deleted virtual column ...................................................................... Patch Set 10: (2 comments) > Nice, looks like not too much boilerplate! Check out the MRS patch that follows; there's a bit of a gotcha in that there's no mandated nullability or read-default. http://gerrit.cloudera.org:8080/#/c/10968/10/src/kudu/common/schema.h File src/kudu/common/schema.h: http://gerrit.cloudera.org:8080/#/c/10968/10/src/kudu/common/schema.h@881 PS10, Line 881: static const char* kReservedColNamePrefix; > No longer needed? Done http://gerrit.cloudera.org:8080/#/c/10968/10/src/kudu/common/types.h File src/kudu/common/types.h: http://gerrit.cloudera.org:8080/#/c/10968/10/src/kudu/common/types.h@625 PS10, Line 625: return DataTypeTraits<BOOL>::name(); > Should this be "is_deleted"? The derived types above don't delegate to the It was at first, but that led to a row dump that looked like this: (string key="row", uint32 val=5, is_deleted is_deleted=true) I thought that was confusing and ugly (granted in part because I named the column 'is_deleted'), so I added this bit of delegation. -- To view, visit http://gerrit.cloudera.org:8080/10968 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I56eb1d44ba8bfbd76d8bb794b8076b695782939e Gerrit-Change-Number: 10968 Gerrit-PatchSet: 10 Gerrit-Owner: Adar Dembo <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Comment-Date: Thu, 02 Aug 2018 04:02:09 +0000 Gerrit-HasComments: Yes
