Return-Path: X-Original-To: apmail-impala-dev-archive@minotaur.apache.org Delivered-To: apmail-impala-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 378DB19615 for ; Fri, 22 Apr 2016 19:01:51 +0000 (UTC) Received: (qmail 49709 invoked by uid 500); 22 Apr 2016 19:01:46 -0000 Delivered-To: apmail-impala-dev-archive@impala.apache.org Received: (qmail 49670 invoked by uid 500); 22 Apr 2016 19:01:46 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 49654 invoked by uid 99); 22 Apr 2016 19:01:45 -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; Fri, 22 Apr 2016 19:01:45 +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 EFA7B1A029B for ; Fri, 22 Apr 2016 19:01:45 +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 mx2-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 VkuD_Llz8drc for ; Fri, 22 Apr 2016 19:01: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 mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 0B20D5F39B for ; Fri, 22 Apr 2016 19:01:42 +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 u3MJ1fVb003460; Fri, 22 Apr 2016 19:01:41 GMT Message-Id: <201604221901.u3MJ1fVb003460@ip-10-146-233-104.ec2.internal> Date: Fri, 22 Apr 2016 19:01:41 +0000 From: "Michael Ho (Code Review)" To: impala-cr@cloudera.com, dev@impala.incubator.apache.org CC: Alex Behm , Dan Hecht , Tim Armstrong Reply-To: kwho@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?[Impala-CR](cdh5-trunk)_IMPALA-3350:_Add_some_missing_StringVal.is=5Fnull_checks=0A?= X-Gerrit-Change-Id: I55777487fff15a521818e39b4f93a8a242770ec2 X-Gerrit-ChangeURL: X-Gerrit-Commit: 10a04f4340f917d56808f8d1bddcaec98ff69bf0 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.10-rc0 Michael Ho has posted comments on this change. Change subject: IMPALA-3350: Add some missing StringVal.is_null checks ...................................................................... Patch Set 3: (1 comment) http://gerrit.cloudera.org:8080/#/c/2786/3/be/src/udf/udf.cc File be/src/udf/udf.cc: Line 459: if (UNLIKELY((unsigned)len > StringVal::MAX_LENGTH)) { > maybe we should make StringVal::MAX_LENGTH unsigned so that comparisons wil Good point. Done. -- To view, visit http://gerrit.cloudera.org:8080/2786 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I55777487fff15a521818e39b4f93a8a242770ec2 Gerrit-PatchSet: 3 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Michael Ho Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Michael Ho Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes