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 175D4200D3B for ; Fri, 27 Oct 2017 00:22:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 15D83160BF3; Thu, 26 Oct 2017 22:22:40 +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 5AD5E1609E5 for ; Fri, 27 Oct 2017 00:22:39 +0200 (CEST) Received: (qmail 2137 invoked by uid 500); 26 Oct 2017 22:22:38 -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 2126 invoked by uid 99); 26 Oct 2017 22:22:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2017 22:22:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 85D331A180E for ; Thu, 26 Oct 2017 22:22:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.363 X-Spam-Level: ** X-Spam-Status: No, score=2.363 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RDNS_DYNAMIC=0.363, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EPQ0UtwDsJQO for ; Thu, 26 Oct 2017 22:22:36 +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 mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2032D5FD41 for ; Thu, 26 Oct 2017 22:22:36 +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 v9QMMYSY013123; Thu, 26 Oct 2017 22:22:34 GMT Message-Id: <201710262222.v9QMMYSY013123@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 4 Date: Thu, 26 Oct 2017 22:22:34 +0000 From: "Tim Armstrong (Code Review)" To: Tianyi Wang , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Dan Hecht , Thomas Tauber-Marshall X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-2758=3A_Remove_BufferedTupleStream=3A=3AGetRows=0A?= X-Gerrit-Change-Id: I3831c38994da2b69775a9809ff01de5d23584414 X-Gerrit-Change-Number: 8226 X-Gerrit-ChangeURL: X-Gerrit-Commit: 2f7da2ae5c38277ed15976df481eff6be63c6c5b In-Reply-To: References: X-Gerrit-Comment-Date: Thu, 26 Oct 2017 22:22:34 +0000 Reply-To: tarmstrong@cloudera.com, impala-cr@cloudera.com, twang@cloudera.com, marcelk@gmail.com, dhecht@cloudera.com, tmarshall@cloudera.com, reviews@impala.incubator.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.14.2 Content-Type: multipart/alternative; boundary="Ub3JxO9qeLo="; charset=UTF-8 archived-at: Thu, 26 Oct 2017 22:22:40 -0000 --Ub3JxO9qeLo= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Tim Armstrong has posted comments on this change=2E ( http://gerrit=2Ecloud= era=2Eorg:8080/8226 ) Change subject: IMPALA-2758: Remove BufferedTupleStr= eam::GetRows =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= =2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E= Patch Set 4: Code-Review+2 (4 comments) Looks good, just did a final p= ass and caught a couple more things=2E If you fix those and rebase then I c= an start the merge=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/4/be/sr= c/exec/partitioned-hash-join-node=2Eh File be/src/exec/partitioned-hash-joi= n-node=2Eh: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/4/be/src/exec/par= titioned-hash-join-node=2Eh@482 PS4, Line 482: bool output_null_aware_pro= be_rows_running_; Longer-term we should think about ways to reduce the shee= r number of stateful member variables in this class and make the state mach= ine in GetNext() easier to understand=2E http://gerrit=2Ecloudera=2Eorg:8= 080/#/c/8226/4/be/src/exec/partitioned-hash-join-node=2Ecc File be/src/exec= /partitioned-hash-join-node=2Ecc: http://gerrit=2Ecloudera=2Eorg:8080/#/c/= 8226/4/be/src/exec/partitioned-hash-join-node=2Ecc@949 PS4, Line 949: R= owBatch null_build_batch(child(1)->row_desc(), state->batch_size(), This ca= n fit on one line=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/4/be/sr= c/exec/partitioned-hash-join-node=2Ecc@962 PS4, Line 962: null_build_= batch=2EReset(); We should add a RETURN_IF_CANCELLED() check here, similar = to the one below (I think this was an oversight in an earlier patch)=2E h= ttp://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/4/be/src/exec/partitioned-hash-= join-node=2Ecc@1074 PS4, Line 1074: RowBatch build_batch(child(1)->ro= w_desc(), state->batch_size(), This can fit on one line=2E -- To view, = visit http://gerrit=2Ecloudera=2Eorg:8080/8226 To unsubscribe, visit http:/= /gerrit=2Ecloudera=2Eorg:8080/settings Gerrit-Project: Impala-ASF Gerrit-B= ranch: master Gerrit-MessageType: comment Gerrit-Change-Id: I3831c38994da2b= 69775a9809ff01de5d23584414 Gerrit-Change-Number: 8226 Gerrit-PatchSet: 4 Ge= rrit-Owner: Tianyi Wang Gerrit-Reviewer: Dan Hecht <= dhecht@cloudera=2Ecom> Gerrit-Reviewer: Thomas Tauber-Marshall Gerrit-Reviewer: Tianyi Wang Gerrit-R= eviewer: Tim Armstrong Gerrit-Comment-Date: Thu= , 26 Oct 2017 22:22:34 +0000 Gerrit-HasComments: Yes --Ub3JxO9qeLo=--