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 702C4200BA1 for ; Mon, 17 Oct 2016 23:05:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6ECBE160AEC; Mon, 17 Oct 2016 21:05:43 +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 B6C9A160AE2 for ; Mon, 17 Oct 2016 23:05:42 +0200 (CEST) Received: (qmail 76448 invoked by uid 500); 17 Oct 2016 21:05:42 -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 76435 invoked by uid 99); 17 Oct 2016 21:05:41 -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; Mon, 17 Oct 2016 21:05:41 +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 389F61A077A for ; Mon, 17 Oct 2016 21:05:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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 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 6suYiO3jWLGO for ; Mon, 17 Oct 2016 21:05:39 +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 E58B45F1BE for ; Mon, 17 Oct 2016 21:05:38 +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 u9HL5c0G032373; Mon, 17 Oct 2016 21:05:38 GMT Message-Id: <201610172105.u9HL5c0G032373@ip-10-146-233-104.ec2.internal> Date: Mon, 17 Oct 2016 21:05:38 +0000 From: "Henry Robinson (Code Review)" To: Sailesh Mukil , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Dan Hecht , Matthew Jacobs Reply-To: henry@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-3823=3A_Add_timer_to_measure_Parquet_footer_reads=0A?= X-Gerrit-Change-Id: Icf87bad90037dd0cea63b10c537382ec0f980cbf X-Gerrit-ChangeURL: X-Gerrit-Commit: 910db37853167325a1c52cd6de2e654a62ef218f 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: Mon, 17 Oct 2016 21:05:43 -0000 Henry Robinson has posted comments on this change. Change subject: IMPALA-3823: Add timer to measure Parquet footer reads ...................................................................... Patch Set 8: Code-Review+1 (11 comments) http://gerrit.cloudera.org:8080/#/c/4371/8/be/src/util/runtime-profile-counters.h File be/src/util/runtime-profile-counters.h: PS8, Line 204: Contrary to "Unlike" PS8, Line 204: a remove PS8, Line 206: The average is stored in the 'value_' member of the base class. Referring to member variables in a class description is usually a sign the text is leaking implementation details. Do you mean to say that value() returns the average? Line 209: SummaryStatsCounter(TUnit::type unit, int32_t total_num_values, Comment what this constructor is used for (is it when merging two SSCounters together?) PS8, Line 216: total_num_values can total_num_values be 0? PS8, Line 247: This keeps track of t Remove - just "The total..." is sufficient. PS8, Line 255: SpinLock counter_lock_; any reason not to call this lock_ ? http://gerrit.cloudera.org:8080/#/c/4371/8/be/src/util/runtime-profile.cc File be/src/util/runtime-profile.cc: PS8, Line 664: /* Print all SummaryStatsCounters as following: : : (Avg: ; Min: ; Max: ; : Number of samples: ) */ Comment style? PS8, Line 669: are is PS8, Line 1019: { min_ = new_value; } remove parentheses for single-line if statements. http://gerrit.cloudera.org:8080/#/c/4371/8/tests/query_test/test_scanners.py File tests/query_test/test_scanners.py: PS8, Line 317: \ remove -- To view, visit http://gerrit.cloudera.org:8080/4371 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Icf87bad90037dd0cea63b10c537382ec0f980cbf Gerrit-PatchSet: 8 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Sailesh Mukil Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: Matthew Jacobs Gerrit-Reviewer: Sailesh Mukil Gerrit-HasComments: Yes