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 CF84E200BD0 for ; Wed, 30 Nov 2016 23:07:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CE2DB160B13; Wed, 30 Nov 2016 22:07:50 +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 23934160B06 for ; Wed, 30 Nov 2016 23:07:49 +0100 (CET) Received: (qmail 99738 invoked by uid 500); 30 Nov 2016 22:07:49 -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 99723 invoked by uid 99); 30 Nov 2016 22:07:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 22:07:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 62B22C03A4 for ; Wed, 30 Nov 2016 22:07:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.363 X-Spam-Level: X-Spam-Status: No, score=0.363 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id vaxaEHTCfPon for ; Wed, 30 Nov 2016 22:07:46 +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 29B405F297 for ; Wed, 30 Nov 2016 22:07:46 +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 uAUM7iGp029921; Wed, 30 Nov 2016 22:07:44 GMT Message-Id: <201611302207.uAUM7iGp029921@ip-10-146-233-104.ec2.internal> Date: Wed, 30 Nov 2016 22:07:44 +0000 From: "Jim Apple (Code Review)" To: Jim Apple , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Amos Bird , Dan Hecht , Tim Armstrong Reply-To: jbapple-impala@apache.org X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_Fix_undefined_calls_to___builtin_ctz=2E=0A?= X-Gerrit-Change-Id: I8460bc3f7e510ce07b8673387c9440accc432abe X-Gerrit-ChangeURL: X-Gerrit-Commit: e050b31111439ab8c96fa44d952de20c7266fb68 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: Wed, 30 Nov 2016 22:07:51 -0000 Jim Apple has posted comments on this change. Change subject: Fix undefined calls to __builtin_ctz. ...................................................................... Patch Set 4: (4 comments) http://gerrit.cloudera.org:8080/#/c/5004/3/be/src/udf_samples/hyperloglog-uda.cc File be/src/udf_samples/hyperloglog-uda.cc: PS3, Line 78: uint > uint64_t? Seems clearer to specify the type and it's not too verbose. Done PS3, Line 80: (hash_top_bit > hash_top_bits != 0 would make the intent clearer (it's a matter of taste, b Done http://gerrit.cloudera.org:8080/#/c/5004/3/be/src/util/bit-util.h File be/src/util/bit-util.h: Line 32: #include > Is this used? Yes, but I was just moving it in the #include list, not using it. It's used elsewhere. Line 247: /// zero. > We don't use the optional argument, so it seems like we should just remove We do use the optional argument in be/src/exprs/aggregate-functions-ir.cc. Explained the undefinedness in a comment. -- To view, visit http://gerrit.cloudera.org:8080/5004 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I8460bc3f7e510ce07b8673387c9440accc432abe Gerrit-PatchSet: 4 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Jim Apple Gerrit-Reviewer: Amos Bird Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Jim Apple Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes