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 872D1200D37 for ; Thu, 26 Oct 2017 00:35:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 85571160BE0; Wed, 25 Oct 2017 22:35:59 +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 CA0A2160BDA for ; Thu, 26 Oct 2017 00:35:58 +0200 (CEST) Received: (qmail 75845 invoked by uid 500); 25 Oct 2017 22:35:58 -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 75834 invoked by uid 99); 25 Oct 2017 22:35:57 -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; Wed, 25 Oct 2017 22:35:57 +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 E94BC1A0011 for ; Wed, 25 Oct 2017 22:35:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.362 X-Spam-Level: ** X-Spam-Status: No, score=2.362 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id I9xr9UQettno for ; Wed, 25 Oct 2017 22:35:55 +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-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id DDCDC5F666 for ; Wed, 25 Oct 2017 22:35:54 +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 v9PMZrJD017093; Wed, 25 Oct 2017 22:35:53 GMT Message-Id: <201710252235.v9PMZrJD017093@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 2 Date: Wed, 25 Oct 2017 22:35:53 +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: 1eb207347c1bf5b306b0533d452663baa15f21d5 In-Reply-To: References: X-Gerrit-Comment-Date: Wed, 25 Oct 2017 22:35:53 +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="6yAPBwVDH14="; charset=UTF-8 archived-at: Wed, 25 Oct 2017 22:35:59 -0000 --6yAPBwVDH14= 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 2: (5 comments) The code change looks good, just needs a bit= more cleanup=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/2/be/src/exe= c/partitioned-hash-join-node=2Eh File be/src/exec/partitioned-hash-join-nod= e=2Eh: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/2/be/src/exec/partitio= ned-hash-join-node=2Eh@482 PS2, Line 482: output_null_aware_probe_rows_runn= ing Needs underscore on end=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/82= 26/2/be/src/exec/partitioned-hash-join-node=2Ecc File be/src/exec/partition= ed-hash-join-node=2Ecc: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/2/be/= src/exec/partitioned-hash-join-node=2Ecc@948 PS2, Line 948: if (!got_re= servation) return NullAwareAntiJoinError(null_build_stream); The stream is = pinned so this should be impossible - let's make it a DCHECK=2E http://ge= rrit=2Ecloudera=2Eorg:8080/#/c/8226/2/be/src/exec/partitioned-hash-join-nod= e=2Ecc@1073 PS2, Line 1073: if (!got_reservation) return NullAwareAnt= iJoinError(build); Same here - got_reservation should always be true for a = pinned stream=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/2/be/src/ru= ntime/buffered-tuple-stream=2Eh File be/src/runtime/buffered-tuple-stream= =2Eh: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8226/2/be/src/runtime/buffer= ed-tuple-stream=2Eh@127 PS2, Line 127: or GetRows() There are some referenc= es to GetRows() in the comments that can be cleaned up too=2E http://gerr= it=2Ecloudera=2Eorg:8080/#/c/8226/2/be/src/runtime/buffered-tuple-stream=2E= h@371 PS2, Line 371: friend class SimpleTupleStreamTest_TestGetRowsOverfl= ow_Test; This test was removed too=2E -- To view, visit http://gerrit= =2Ecloudera=2Eorg:8080/8226 To unsubscribe, visit http://gerrit=2Ecloudera= =2Eorg:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerr= it-MessageType: comment Gerrit-Change-Id: I3831c38994da2b69775a9809ff01de5d= 23584414 Gerrit-Change-Number: 8226 Gerrit-PatchSet: 2 Gerrit-Owner: Tianyi= Wang Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Thomas Tauber-Marshall Ger= rit-Reviewer: Tianyi Wang Gerrit-Reviewer: Tim Armst= rong Gerrit-Comment-Date: Wed, 25 Oct 2017 22:3= 5:53 +0000 Gerrit-HasComments: Yes --6yAPBwVDH14=--