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 5F6FE17269 for ; Mon, 26 Jan 2015 22:58:35 +0000 (UTC) Received: (qmail 63492 invoked by uid 500); 26 Jan 2015 22:58:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 63427 invoked by uid 500); 26 Jan 2015 22:58:35 -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 63415 invoked by uid 500); 26 Jan 2015 22:58:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 63412 invoked by uid 99); 26 Jan 2015 22:58:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2015 22:58:35 +0000 Date: Mon, 26 Jan 2015 22:58:35 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9462) HIVE-8577 - breaks type evolution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9462?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14292= 569#comment-14292569 ]=20 Sergio Pe=C3=B1a commented on HIVE-9462: ----------------------------------- Hi [~brocknoland] The patch looks good. I tested it in my machine and worked fine. The only thing I could not understand is what happened with the 'currentFil= eSchema' when we get the UnresolvedUnionException. Is it going to be null? > HIVE-8577 - breaks type evolution > --------------------------------- > > Key: HIVE-9462 > URL: https://issues.apache.org/jira/browse/HIVE-9462 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Affects Versions: 0.15.0 > Reporter: Brock Noland > Assignee: Brock Noland > Attachments: HIVE-9462.1.patch, type_evolution.avro > > > If you write an avro field out as {{int}} and then change it's type to {{= long}} you will get an {{UnresolvedUnionException}} due to code in HIVE-857= 7. -- This message was sent by Atlassian JIRA (v6.3.4#6332)