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 5E85C11FFF for ; Fri, 20 Jun 2014 18:41:27 +0000 (UTC) Received: (qmail 7009 invoked by uid 500); 20 Jun 2014 18:41:26 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 6868 invoked by uid 500); 20 Jun 2014 18:41:26 -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 6857 invoked by uid 500); 20 Jun 2014 18:41:26 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 6854 invoked by uid 99); 20 Jun 2014 18:41:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2014 18:41:26 +0000 Date: Fri, 20 Jun 2014 18:41:26 +0000 (UTC) From: "Deepesh Khandelwal (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7118) Oracle upgrade schema scripts do not map Java long datatype columns correctly for transaction related tables 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-7118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepesh Khandelwal updated HIVE-7118: ------------------------------------- Attachment: HIVE-7118-0.13.0.1.patch I have attached a new patch which provides the following: 019-HIVE-7118.oracle.sql -> Intended for users who are already on Hive 0.13.0. Will need to run the script manually against their existing hive metastore schema. hive-txn-schema-0.13.0.oracle.sql & hive-schema-0.13.0.oracle.sql -> For fresh installs. > Oracle upgrade schema scripts do not map Java long datatype columns correctly for transaction related tables > ------------------------------------------------------------------------------------------------------------ > > Key: HIVE-7118 > URL: https://issues.apache.org/jira/browse/HIVE-7118 > Project: Hive > Issue Type: Bug > Components: Database/Schema > Affects Versions: 0.14.0 > Environment: Oracle DB > Reporter: Deepesh Khandelwal > Assignee: Deepesh Khandelwal > Fix For: 0.14.0 > > Attachments: HIVE-7118-0.13.0.1.patch, HIVE-7118.1.patch > > > In Transaction related tables, Java long column fields are mapped to NUMBER(10) which results in failure to persist the transaction ids which are incompatible. Following error is seen: > {noformat} > ORA-01438: value larger than specified precision allowed for this column > {noformat} > NO PRECOMMIT TESTS -- This message was sent by Atlassian JIRA (v6.2#6252)