Henry Robinson has posted comments on this change.

Change subject: IMPALA-3873: Add QueryStateAccessor
......................................................................


Patch Set 1:

(5 comments)

Moved to http://gerrit.cloudera.org:8080/3851

http://gerrit.cloudera.org:8080/#/c/3678/1/be/src/service/query-state-accessor.cc
File be/src/service/query-state-accessor.cc:

Line 27:   virtual const std::string profile_str() const { return 
record_.profile_str; }
> It's a little unfortunate that we have to copy these profiles strings again
It is a bit unfortunate, but most of the time reads of a QueryRecord through 
this interface are done out of the critical path of any query, so probably not 
worth optimizing just yet.


PS1, Line 29: TUniqueId
> Why return by ref? This should be cheap to copy.
Done


PS1, Line 56: Copied by value
> It seems possibly better to use shared_ptr for QueryStateRecords to avoid t
Agreed, not worth doing for now.


http://gerrit.cloudera.org:8080/#/c/3678/1/be/src/service/query-state-accessor.h
File be/src/service/query-state-accessor.h:

Line 30: /// safe.
> We should document that values that are returned by reference are only guar
Done


http://gerrit.cloudera.org:8080/#/c/3678/1/www/query_detail_tabs.tmpl
File www/query_detail_tabs.tmpl:

Line 10: 
> ?
Done


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iec3dae66a81988c99cde1516ff511186e17dd8c0
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Henry Robinson <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-HasComments: Yes

Reply via email to