impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe McDonnell (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4996: Single-threaded KuduScanNode
Date Wed, 15 Mar 2017 00:52:31 GMT
Joe McDonnell has posted comments on this change.

Change subject: IMPALA-4996: Single-threaded KuduScanNode

Patch Set 3:

File be/src/exec/

Line 105:   KUDU_RETURN_IF_ERROR(client_->OpenTable(table_desc->table_name(), &table_),
> looks like this is a negligible amount of state, so no worries.
I had asked Matt, and he said it was lightweight.
File be/src/exec/kudu-scan-node-base.h:

Line 75:   const TupleDescriptor* tuple_desc() const { return tuple_desc_; }
> functions, even getters, at bottom

Line 79:   kudu::client::KuduClient *client_;
> formatting

Line 80:   kudu::client::KuduClient* kudu_client() { return client_; }
> also move down

Line 82:   /// Kudu table reference. Shared between scanner threads.
> between scanner threads of KuduScanNode?
Updated comment to reflect that this is for KuduScanNode.
File be/src/runtime/query-state.h:

Line 119:       kudu::client::KuduClient **client);
> who owns this?
Added info to the comment. All the KuduClients are owned by the QueryState.
File be/src/runtime/query-state.h:

Line 32: 
> format into single line

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I6e4593300e376bc508b78acaea64ffdd2c73a67a
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Joe McDonnell <>
Gerrit-Reviewer: Joe McDonnell <>
Gerrit-Reviewer: Marcel Kornacker <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Thomas Tauber-Marshall <>
Gerrit-HasComments: Yes

View raw message