Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/10990 )

Change subject: memrowset: support iteration with is_deleted virtual column
......................................................................


Patch Set 3:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/10990/2/src/kudu/tablet/memrowset-test.cc
File src/kudu/tablet/memrowset-test.cc:

http://gerrit.cloudera.org:8080/#/c/10990/2/src/kudu/tablet/memrowset-test.cc@592
PS2, Line 592:  Cartesian product
> The case where we have omit_deleted_rows = true and add_vc_is_deleted = tru
Right, there's no use case for omit_deleted_rows && add_vc_is_deleted, just as 
there's no use case for !omit_deleted_rows && !add_vc_is_deleted. It was just 
easier to test these individually like this.

I do expect that this will be prohibited at a higher level. There may be just a 
single "is this a backup scan" knob that is set in a client API, which maps to 
these more granular knobs on the wire. Or maybe the single knob is also on the 
wire and it maps to these granular options server-side. Either way I wouldn't 
expect clients to be exposed to the uninteresting cases.


http://gerrit.cloudera.org:8080/#/c/10990/2/src/kudu/tablet/memrowset-test.cc@622
PS2, Line 622: incl
> how about include instead of omit to avoid setting a parameter to true for
Done


http://gerrit.cloudera.org:8080/#/c/10990/2/src/kudu/tablet/memrowset-test.cc@632
PS2, Line 632: false /* is_key */
> nit: /* is_key= */ false will get clang-tidy support
Done


http://gerrit.cloudera.org:8080/#/c/10990/2/src/kudu/tablet/memrowset.cc
File src/kudu/tablet/memrowset.cc:

http://gerrit.cloudera.org:8080/#/c/10990/2/src/kudu/tablet/memrowset.cc@562
PS2, Line 562: reinterpret_cast<bool*>
> Is there no type safe way to set this cell value?
Heh, I was hoping you or Todd would point me at a better way.



--
To view, visit http://gerrit.cloudera.org:8080/10990
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic6b053f5a3696eb9d7c26b8e3d96752f4f87bcd8
Gerrit-Change-Number: 10990
Gerrit-PatchSet: 3
Gerrit-Owner: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Grant Henke <granthe...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-Comment-Date: Thu, 19 Jul 2018 21:59:20 +0000
Gerrit-HasComments: Yes

Reply via email to