Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 447F6200B81 for ; Tue, 13 Sep 2016 22:04:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 432B4160AD2; Tue, 13 Sep 2016 20:04:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 896F5160AAA for ; Tue, 13 Sep 2016 22:04:50 +0200 (CEST) Received: (qmail 57329 invoked by uid 500); 13 Sep 2016 20:04:49 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 57318 invoked by uid 99); 13 Sep 2016 20:04:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 20:04:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1A7A2C688A for ; Tue, 13 Sep 2016 20:04:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id gST3f2K_PqPC for ; Tue, 13 Sep 2016 20:04:47 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 344D25FBC9 for ; Tue, 13 Sep 2016 20:04:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u8DK4kKZ022095; Tue, 13 Sep 2016 20:04:46 GMT Message-Id: <201609132004.u8DK4kKZ022095@ip-10-146-233-104.ec2.internal> Date: Tue, 13 Sep 2016 20:04:46 +0000 From: "Dan Hecht (Code Review)" To: Tim Armstrong , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Michael Ho Reply-To: dhecht@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4008=3A_don=27t_bake_in_hash_table_and_hash_join_pointers=0A?= X-Gerrit-Change-Id: Ie353666dbb5c958f0094d169306fe930ec3014c5 X-Gerrit-ChangeURL: X-Gerrit-Commit: dfa8fbd54a4a084b2b404ea10e54b817e73754dc In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.2 archived-at: Tue, 13 Sep 2016 20:04:51 -0000 Dan Hecht has posted comments on this change. Change subject: IMPALA-4008: don't bake in hash table and hash join pointers ...................................................................... Patch Set 4: (5 comments) http://gerrit.cloudera.org:8080/#/c/4326/4/be/src/exec/hash-table.h File be/src/exec/hash-table.h: Line 308: uint8_t* ALWAYS_INLINE cur_expr_values() const { return cur_expr_values_; } let's add a short comment here too: /// Returns the current row's expression buffer. or something. PS4, Line 310: . for the current row. PS4, Line 400: into This one should have stayed "in" (or "of"), right? i.e. it doesn't write *expr_values. (Could make them 'const uint8_t*' to clarify that too). Line 427: uint32_t HashVariableLenRow(uint8_t* expr_values, uint8_t* expr_values_null) const; how about making these const as well. Line 441: TupleRow* build_row, uint8_t* expr_values, uint8_t* expr_values_null) const; these too could be const to clarify they are "in" params. -- To view, visit http://gerrit.cloudera.org:8080/4326 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie353666dbb5c958f0094d169306fe930ec3014c5 Gerrit-PatchSet: 4 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes