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 84D20200D2F for ; Wed, 1 Nov 2017 21:21:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8346E160BEA; Wed, 1 Nov 2017 20:21:35 +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 C6ECC1609EC for ; Wed, 1 Nov 2017 21:21:34 +0100 (CET) Received: (qmail 87913 invoked by uid 500); 1 Nov 2017 20:21:34 -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 87902 invoked by uid 99); 1 Nov 2017 20:21:33 -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, 01 Nov 2017 20:21:33 +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 E67431A4311 for ; Wed, 1 Nov 2017 20:21:32 +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 mp6w3XaRVZCX for ; Wed, 1 Nov 2017 20:21:31 +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 02F5160D1C for ; Wed, 1 Nov 2017 20:21:30 +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 vA1KLM0o021925; Wed, 1 Nov 2017 20:21:22 GMT Message-Id: <201711012021.vA1KLM0o021925@ip-10-146-233-104.ec2.internal> X-Gerrit-PatchSet: 11 Date: Wed, 1 Nov 2017 20:21:22 +0000 From: "Zoram Thanga (Code Review)" To: Zoram Thanga , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Dan Hecht , Michael Ho X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-5599=3A_Clean_up_references_to_TimestampValue_in_be/src=2E=0A?= X-Gerrit-Change-Id: I642a1d713597826bb7c15cd2ecb6638cb813a02c X-Gerrit-Change-Number: 8305 X-Gerrit-ChangeURL: X-Gerrit-Commit: 1640aa9796879405c7112de3065c7fbe88064e8a In-Reply-To: References: X-Gerrit-Comment-Date: Wed, 1 Nov 2017 20:21:22 +0000 Reply-To: zoram@cloudera.com, impala-cr@cloudera.com, marcelk@gmail.com, dhecht@cloudera.com, kwho@cloudera.com, zoram@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="5t0VjcU54Oo="; charset=UTF-8 archived-at: Wed, 01 Nov 2017 20:21:35 -0000 --5t0VjcU54Oo= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Zoram Thanga has posted comments on this change=2E ( http://gerrit=2Ecloude= ra=2Eorg:8080/8305 ) Change subject: IMPALA-5599: Clean up references to T= imestampValue in be/src=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=2E Patch Set 11: (3 comments) http://gerrit=2Ecloudera=2Eorg:= 8080/#/c/8305/11/be/src/service/client-request-state=2Eh File be/src/servic= e/client-request-state=2Eh: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8305/1= 1/be/src/service/client-request-state=2Eh@342 PS11, Line 342: start_time_us= _, end_time_us_; > These two may need to be initialized=2E https://gerrit= =2Ecloudera=2Eorg/#/c/8430/ http://gerrit=2Ecloudera=2Eorg:8080/#/c/8305/= 11/be/src/service/impala-http-handler=2Ecc File be/src/service/impala-http-= handler=2Ecc: http://gerrit=2Ecloudera=2Eorg:8080/#/c/8305/11/be/src/servi= ce/impala-http-handler=2Ecc@303 PS11, Line 303: record=2Eend_time_us - reco= rd=2Estart_time_us; > This may be broken if end_time_us is not set yet=2E T= he old code will use the Fixing via https://gerrit=2Ecloudera=2Eorg/#/c/843= 0/ http://gerrit=2Ecloudera=2Eorg:8080/#/c/8305/11/be/src/service/impala-= server=2Eh File be/src/service/impala-server=2Eh: http://gerrit=2Ecloudera= =2Eorg:8080/#/c/8305/11/be/src/service/impala-server=2Eh@622 PS11, Line 622= : /// Start and end time of the query, in Unix microseconds=2E = : int64_t start_time_us, end_time_us; > Can these be const ? They= are always initialized in the constructor, right The default constructor = does not handle this well if we make them constants=2E We'll have to make a= ll/most of the other fields constant as well if we are going to fix this=2E= -- To view, visit http://gerrit=2Ecloudera=2Eorg:8080/8305 To unsubscr= ibe, visit http://gerrit=2Ecloudera=2Eorg:8080/settings Gerrit-Project: Im= pala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id= : I642a1d713597826bb7c15cd2ecb6638cb813a02c Gerrit-Change-Number: 8305 Gerr= it-PatchSet: 11 Gerrit-Owner: Zoram Thanga Gerrit-Re= viewer: Dan Hecht Gerrit-Reviewer: Impala Public Je= nkins Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Zo= ram Thanga Gerrit-Comment-Date: Wed, 01 Nov 2017 20:= 21:22 +0000 Gerrit-HasComments: Yes --5t0VjcU54Oo=--