Tim Armstrong has posted comments on this change.

Change subject: IMPALA-3567: move ExecOption profile helpers to RuntimeProfile
......................................................................


Patch Set 3:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/4188/3/be/src/util/runtime-profile.cc
File be/src/util/runtime-profile.cc:

PS3, Line 465: ||
> does the clang formatter put this at the start of lines? this is opposite o
Yes, that was clang-format. It looks like there was a deliberate decision to 
set up clang-format in this way:

https://gerrit.cloudera.org/#/c/4046/1/be/src/scheduling/simple-scheduler.cc@a261


http://gerrit.cloudera.org:8080/#/c/4188/3/be/src/util/runtime-profile.h
File be/src/util/runtime-profile.h:

PS3, Line 207: Status
> Given that this function doesn't have anything to do with "Status" class, h
Did the rename.

It doesn't necessarily make sense to require it. Codegen can disabled by the 
disable_codegen query option or planner. In that case status is ok because 
there was no error, but codegen is disabled.


PS3, Line 211: OK
> is OK allowed even when !codegen_enabled?  Also, the bool and the Status se
They're partially independent. codegen_enabled implies status is ok, but 
vice-versa is not true since codegen can be disabled by the planner or query 
option.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I21c1dda8f8a1d92172bf59fbc1070a6834e61913
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Dan Hecht <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-Reviewer: Matthew Jacobs <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-HasComments: Yes

Reply via email to