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 04A6E17916 for ; Fri, 6 Feb 2015 09:20:35 +0000 (UTC) Received: (qmail 56855 invoked by uid 500); 6 Feb 2015 09:20:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 56782 invoked by uid 500); 6 Feb 2015 09:20:34 -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 56771 invoked by uid 500); 6 Feb 2015 09:20:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 56767 invoked by uid 99); 6 Feb 2015 09:20:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2015 09:20:34 +0000 Date: Fri, 6 Feb 2015 09:20:34 +0000 (UTC) From: =?utf-8?Q?Manuel_Me=C3=9Fner_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9595) Test whether schema evolution using parquet is possible 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-9595?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Manuel Me=C3=9Fner updated HIVE-9595: -------------------------------- Affects Version/s: 1.0.0 0.14.0 > Test whether schema evolution using parquet is possible > ------------------------------------------------------- > > Key: HIVE-9595 > URL: https://issues.apache.org/jira/browse/HIVE-9595 > Project: Hive > Issue Type: Test > Components: File Formats, Tests > Affects Versions: 0.14.0, 0.13.1, 1.0.0 > Reporter: Manuel Me=C3=9Fner > Priority: Trivial > Attachments: HIVE-9595.01.patch, HIVE-9595.02.patch > > > With https://issues.apache.org/jira/browse/HIVE-7554 a unfortunate else b= ranch was introduced to org.apache.hadoop.hive.ql.io.parquet.read.DataWrita= bleReadSupport . That else branch fired an exception in case the parquet fi= le schema had less fields than the table schema. So adding columns to a par= quet backed table and query the added columns on old partitions wasn't poss= ible anymore. Which was very unfortunate for my team. https://issues.apache= .org/jira/browse/HIVE-7800 fixed that, see point 3 in Daniel Weeks' comment= https://issues.apache.org/jira/browse/HIVE-7800?focusedCommentId=3D1415859= 4&page=3Dcom.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#c= omment-14158594 . > However Hive-7800 did not introduce a test case for that. I'd love to see= one. > Best, > Manuel -- This message was sent by Atlassian JIRA (v6.3.4#6332)