Andrew Wong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9790 )

Change subject: KUDU-16 pt 2: add client-side limits on scanners
......................................................................


Patch Set 5:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/9790/4/src/kudu/client/client-test.cc
File src/kudu/client/client-test.cc:

http://gerrit.cloudera.org:8080/#/c/9790/4/src/kudu/client/client-test.cc@812
PS4, Line 812: TEST_F(ClientTest, TestRandomizedLimitScans) {
> If I'm reading client-test correctly, this only sets up a table with two ta
Done. I just modified this test to use hash partitioning, keeping it randomized.


http://gerrit.cloudera.org:8080/#/c/9790/4/src/kudu/client/scan_configuration.h
File src/kudu/client/scan_configuration.h:

http://gerrit.cloudera.org:8080/#/c/9790/4/src/kudu/client/scan_configuration.h@153
PS4, Line 153:     CHECK(has_snapshot_timestamp());
> hm, why not use boost::optional here?
Better yet, the limit is completely owned by the scan spec.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib2d40e3d14e36f3bf1d09a4bfdb3e17a745d244d
Gerrit-Change-Number: 9790
Gerrit-PatchSet: 5
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Comment-Date: Fri, 30 Mar 2018 07:52:24 +0000
Gerrit-HasComments: Yes

Reply via email to