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 3157E177C1 for ; Thu, 16 Apr 2015 14:28:59 +0000 (UTC) Received: (qmail 1748 invoked by uid 500); 16 Apr 2015 14:28:58 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 1677 invoked by uid 500); 16 Apr 2015 14:28:58 -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 1666 invoked by uid 99); 16 Apr 2015 14:28:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2015 14:28:58 +0000 Date: Thu, 16 Apr 2015 14:28:58 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-10363) Provide a way to normalize the legacy partition column values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chaoyu Tang created HIVE-10363: ---------------------------------- Summary: Provide a way to normalize the legacy partition column values Key: HIVE-10363 URL: https://issues.apache.org/jira/browse/HIVE-10363 Project: Hive Issue Type: Improvement Components: Types Reporter: Chaoyu Tang Assignee: Chaoyu Tang We have seen a lot issues which were caused by the non-normalized partition column values, such as HIVE-10210, HIVE-6052 etc. Besides type checking, converting and normalizing the partition column values in insert/alter partition operations (see HIVE-10307, HIVE-10362), we need provide an easy way for users to normalize their legacy partition column data. HIVE-5700 has attempted to do at metastore sql level, but given that many flavors of backend databases and different versions, it is quite hard to achieve that and it is also error prone. The sql portion of change in HIVE-5700 has been reverted by HIVE-9445/HIVE-9509. Currently alter table .. partition ... rename could be used to normalize the partition column for each partition, but I am thinking any other more convenient and better way to do that. -- This message was sent by Atlassian JIRA (v6.3.4#6332)