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 9C6E511096 for ; Thu, 18 Sep 2014 23:11:17 +0000 (UTC) Received: (qmail 35382 invoked by uid 500); 18 Sep 2014 23:11:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 35330 invoked by uid 500); 18 Sep 2014 23:11:17 -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 35314 invoked by uid 99); 18 Sep 2014 23:11:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 23:11:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id C47DB1DD861; Thu, 18 Sep 2014 23:11:14 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2338082885781620560==" MIME-Version: 1.0 Subject: Re: Review Request 25716: Type coercion for union queries. From: "Ashutosh Chauhan" To: "John Pullokkaran" Cc: "Ashutosh Chauhan" , "hive" Date: Thu, 18 Sep 2014 23:11:14 -0000 Message-ID: <20140918231114.7800.30321@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Ashutosh Chauhan" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/25716/ X-Sender: "Ashutosh Chauhan" References: <20140916222915.7800.11324@reviews.apache.org> In-Reply-To: <20140916222915.7800.11324@reviews.apache.org> Reply-To: "Ashutosh Chauhan" X-ReviewRequest-Repository: hive-git --===============2338082885781620560== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25716/ ----------------------------------------------------------- (Updated Sept. 18, 2014, 11:11 p.m.) Review request for hive and John Pullokkaran. Changes ------- We can make it work by using Hive's type resolution, which is more valid anyways instead of using Optiq's type resolution in such cases. Bugs: HIVE-8150 https://issues.apache.org/jira/browse/HIVE-8150 Repository: hive-git Description ------- Type coercion for union queries. Diffs (updated) ----- ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 607e6d9 Diff: https://reviews.apache.org/r/25716/diff/ Testing ------- union32.q Thanks, Ashutosh Chauhan --===============2338082885781620560==--