You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@cloudera.org> on 2016/10/03 07:08:44 UTC
[kudu-CR] [util] Fix a minor bug in AssertEventually()
Todd Lipcon has posted comments on this change.
Change subject: [util] Fix a minor bug in AssertEventually()
......................................................................
Patch Set 2:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/4566/2/src/kudu/common/column_predicate.cc
File src/kudu/common/column_predicate.cc:
Line 590: default: LOG(FATAL) << "unknown predicate type";
> Looking bit more (if my code navigation hasn't cheated me) it turns out LOG
The purpose of not putting a default here is so that you get a compiler warning/error if you're missing a case. I think we should leave out the 'default' and put the LOG(FATAL) at the end of the function.
It also looks like we may need a 'return true' for the InList case?
Either way I don't like sneaking this change into an unrelated one.
--
To view, visit http://gerrit.cloudera.org:8080/4566
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Id34b3461164d96261e4a2d1657244332eb33ad0c
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dinesh Bhat <di...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Dinesh Bhat <di...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-HasComments: Yes