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 6861A200D16 for ; Tue, 26 Sep 2017 01:30:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 66D721609E9; Mon, 25 Sep 2017 23:30:47 +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 AAB841609BB for ; Tue, 26 Sep 2017 01:30:46 +0200 (CEST) Received: (qmail 72389 invoked by uid 500); 25 Sep 2017 23:30:45 -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 72378 invoked by uid 99); 25 Sep 2017 23:30:45 -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; Mon, 25 Sep 2017 23:30:45 +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 346F3DD03E for ; Mon, 25 Sep 2017 23:30:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZT4xnD_uiYFT for ; Mon, 25 Sep 2017 23:30:44 +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 6251D61032 for ; Mon, 25 Sep 2017 23:30:43 +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 v8PNUab1000888; Mon, 25 Sep 2017 23:30:36 GMT Message-Id: <201709252330.v8PNUab1000888@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 5 Date: Mon, 25 Sep 2017 23:30:35 +0000 From: "Lars Volker (Code Review)" To: Tim Armstrong , impala-cr@cloudera.com, reviews@impala.incubator.apache.org X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-5307=3A_part_1=3A_don=27t_transfer_disk_I/O_buffers_out_of_parquet=0A?= X-Gerrit-Change-Id: I767c1e2dabde7d5bd7a4d5c1ec6d14801b8260d2 X-Gerrit-Change-Number: 8085 X-Gerrit-ChangeURL: X-Gerrit-Commit: 608ba9730064331ccdfd61663baa7335e331c86a In-Reply-To: References: X-Gerrit-Comment-Date: Mon, 25 Sep 2017 23:30:35 +0000 Reply-To: lv@cloudera.com, impala-cr@cloudera.com, marcelk@gmail.com, tarmstrong@cloudera.com, reviews@impala.incubator.apache.org, dhecht@cloudera.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.14.2 Content-Type: multipart/alternative; boundary="lexAV3UX9gw="; charset=UTF-8 archived-at: Mon, 25 Sep 2017 23:30:47 -0000 --lexAV3UX9gw= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Lars Volker has posted comments on this change=2E ( http://gerrit=2Eclouder= a=2Eorg:8080/8085 ) Change subject: IMPALA-5307: part 1: don't transfer di= sk I/O buffers out of parquet =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 5: (7 comments) http://gerrit=2Ecloudera=2Eor= g:8080/#/c/8085/5//COMMIT_MSG Commit Message: http://gerrit=2Ecloudera=2Eo= rg:8080/#/c/8085/5//COMMIT_MSG@7 PS5, Line 7: IMPALA-5307 Can you add a lin= e at the bottom what the other part(s) would look like? http://gerrit=2Ec= loudera=2Eorg:8080/#/c/8085/5//COMMIT_MSG@56 PS5, Line 56: +---------------= -----+--------------------------------------------------------+------------= -----------+--------+-------------+------------+------------+--------------= --+-------------+-------+ Nit: You could make the second column smaller to = make this more readable, and add a bottom delimiter line to indicate it was= truncated on purposed and not by mistake=2E http://gerrit=2Ecloudera=2Eo= rg:8080/#/c/8085/5/be/src/exec/hdfs-parquet-scanner=2Ecc File be/src/exec/h= dfs-parquet-scanner=2Ecc: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8085/5/b= e/src/exec/hdfs-parquet-scanner=2Ecc@245 PS5, Line 245: context_->Release= CompletedResources(nullptr, true); I think it's best to change the whole fi= le at once, or only change occurrences where necessary=2E This looks like i= t may be left from a previous patchset=2E http://gerrit=2Ecloudera=2Eorg:= 8080/#/c/8085/5/be/src/exec/parquet-column-readers=2Eh File be/src/exec/par= quet-column-readers=2Eh: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8085/5/be= /src/exec/parquet-column-readers=2Eh@476 PS5, Line 476: Status AllocateUn= compressedDataPage( Should we call this "AllocateUncompressedDataBuffer"? O= therwise it sounds to me like it'll only be needed for uncompressed pages= =2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8085/5/be/src/exec/parquet-co= lumn-readers=2Eh@477 PS5, Line 477: int64_t size, const std::string& = desc, uint8_t** buffer); Maybe err_desc, err_detail, or detail? "desc" remi= nds me of descriptors=2E http://gerrit=2Ecloudera=2Eorg:8080/#/c/8085/5/b= e/src/exec/parquet-column-readers=2Eh@485 PS5, Line 485: IsStringType This = does not say "VarLenStringType" but above in a comment you refer to var-len= data=2E Can you clarify one of them? http://gerrit=2Ecloudera=2Eorg:8080= /#/c/8085/5/be/src/exec/parquet-column-readers=2Ecc File be/src/exec/parque= t-column-readers=2Ecc: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8085/5/be/s= rc/exec/parquet-column-readers=2Ecc@1075 PS5, Line 1075: unco= mpressed_size, "uncompressed variable-length data", ©_buffer)); DCHECK(= copy_buffer !=3D nullptr); And maybe initialize it to nullptr, so that it's= explicit what the allocation will do=2E -- To view, visit http://gerri= t=2Ecloudera=2Eorg:8080/8085 To unsubscribe, visit http://gerrit=2Ecloudera= =2Eorg:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerr= it-MessageType: comment Gerrit-Change-Id: I767c1e2dabde7d5bd7a4d5c1ec6d1480= 1b8260d2 Gerrit-Change-Number: 8085 Gerrit-PatchSet: 5 Gerrit-Owner: Tim Ar= mstrong Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Lars Volker Gerrit-Comment= -Date: Mon, 25 Sep 2017 23:30:35 +0000 Gerrit-HasComments: Yes --lexAV3UX9gw=--