Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB0D51960F for ; Wed, 9 Mar 2016 22:48:40 +0000 (UTC) Received: (qmail 73466 invoked by uid 500); 9 Mar 2016 22:48:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 73445 invoked by uid 500); 9 Mar 2016 22:48:40 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 73434 invoked by uid 99); 9 Mar 2016 22:48:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2016 22:48:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AE46F2C1F54 for ; Wed, 9 Mar 2016 22:48:40 +0000 (UTC) Date: Wed, 9 Mar 2016 22:48:40 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13251) hive can't read the decimal in AVRO file generated from previous version MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-13251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15188242#comment-15188242 ] Aihua Xu commented on HIVE-13251: --------------------------------- [~xuefuz] I'm wondering why we try to get schema info from the file rather than from the record in HIVE-5823 for decimal? > hive can't read the decimal in AVRO file generated from previous version > ------------------------------------------------------------------------ > > Key: HIVE-13251 > URL: https://issues.apache.org/jira/browse/HIVE-13251 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 2.1.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > > HIVE-7174 makes the avro schema change to match avro definition, while it breaks the compatibility if the file is generated from the previous Hive. We should allow to read old file format "precision" : "4", "scale": "8", but write in the new format. -- This message was sent by Atlassian JIRA (v6.3.4#6332)