Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2C2410447 for ; Fri, 14 Feb 2014 01:49:19 +0000 (UTC) Received: (qmail 42629 invoked by uid 500); 14 Feb 2014 01:49:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 42572 invoked by uid 500); 14 Feb 2014 01:49:16 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 42562 invoked by uid 99); 14 Feb 2014 01:49:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Feb 2014 01:49:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 45AF71D4259; Fri, 14 Feb 2014 01:49:15 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7565682565502701744==" MIME-Version: 1.0 Subject: Re: Review Request 18025: Implement vectorized support for COALESCE conditional expression From: "Jitendra Pandey" To: "Eric Hanson" Cc: "Jitendra Pandey" , "hive" Date: Fri, 14 Feb 2014 01:49:15 -0000 Message-ID: <20140214014915.1632.55989@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Jitendra Pandey" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/18025/ X-Sender: "Jitendra Pandey" References: <20140213013022.26805.28948@reviews.apache.org> In-Reply-To: <20140213013022.26805.28948@reviews.apache.org> Reply-To: "Jitendra Pandey" X-ReviewRequest-Repository: hive-git --===============7565682565502701744== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > On Feb. 13, 2014, 1:30 a.m., Eric Hanson wrote: > > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizationContext.java, line 440 > > > > > > This is the same code block as the previous case. Can you share the case and change the condition to an OR? > > > > Up to you... This piece of code will be revisited in HIVE-6416, where I need to add casting for many mathematical functions. I will address it there. > On Feb. 13, 2014, 1:30 a.m., Eric Hanson wrote: > > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/VectorCoalesce.java, line 126 > > > > > > This can have > 1 argument. Please add comment to explain. > > > > This class should not return a descriptor, because it can take variable number of arguments with different data types. - Jitendra ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/18025/#review34336 ----------------------------------------------------------- On Feb. 14, 2014, 1:49 a.m., Jitendra Pandey wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/18025/ > ----------------------------------------------------------- > > (Updated Feb. 14, 2014, 1:49 a.m.) > > > Review request for hive and Eric Hanson. > > > Bugs: HIVE-5759 > https://issues.apache.org/jira/browse/HIVE-5759 > > > Repository: hive-git > > > Description > ------- > > Implement vectorized support for COALESCE conditional expression > > > Diffs > ----- > > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/BytesColumnVector.java f1eef14 > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/ColumnVector.java 0a8811f > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/DecimalColumnVector.java d0d8597 > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/DoubleColumnVector.java cb23129 > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/LongColumnVector.java aa05b19 > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizationContext.java 7141d63 > ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/VectorCoalesce.java PRE-CREATION > ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java 21fe8ca > ql/src/test/queries/clientpositive/vector_coalesce.q PRE-CREATION > ql/src/test/results/clientpositive/vector_coalesce.q.out PRE-CREATION > > Diff: https://reviews.apache.org/r/18025/diff/ > > > Testing > ------- > > > Thanks, > > Jitendra Pandey > > --===============7565682565502701744==--