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 46ACB10C9F for ; Wed, 3 Jul 2013 23:06:23 +0000 (UTC) Received: (qmail 40185 invoked by uid 500); 3 Jul 2013 23:06:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40121 invoked by uid 500); 3 Jul 2013 23:06:22 -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 40063 invoked by uid 500); 3 Jul 2013 23:06:22 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40039 invoked by uid 99); 3 Jul 2013 23:06:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 23:06:22 +0000 Date: Wed, 3 Jul 2013 23:06:22 +0000 (UTC) From: "Sushanth Sowmyan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-4816) Followup from HIVE-4551 : Reworking HCat Record Transformation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sushanth Sowmyan created HIVE-4816: -------------------------------------- Summary: Followup from HIVE-4551 : Reworking HCat Record Transformation Key: HIVE-4816 URL: https://issues.apache.org/jira/browse/HIVE-4816 Project: Hive Issue Type: Improvement Reporter: Sushanth Sowmyan Assignee: Sushanth Sowmyan This is a post-bug followup from HIVE-4551, to refactor some HCatalog code to be cleaner/neater. Reposting contents from my previous jira, this jira needs to track the following: a) HCatRecord and HCatSchema reflect underlying raw data and do no promotions. b) Introduce a ConversionImpl, which defines various datatype conversion functions, which all default to returning the input, and having a config that allows a user which conversions are implemented. c) Introduce a PromotedHCatRecord & PromotedHCatSchema that wrap HCatRecord/HCatSchema and use a ConversionImpl. d) Implement a PigLoaderConversionImpl/PigStorerConversionImpl in hcat-pig-adapter, which implements the following: Short->Int promotion, Short->Int promotion, Boolean->Int promotion e) Have HCatLoader/HCatStorer use the promoted versions of HCatRecord/HCatSchema which use the PigConversionImpl. f) Remove the current HCatContext promotion parameters and make them be HCatLoader/HCatStorer parameters. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira