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 E39DC107D7 for ; Wed, 12 Mar 2014 12:48:52 +0000 (UTC) Received: (qmail 84753 invoked by uid 500); 12 Mar 2014 12:48:45 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 84313 invoked by uid 500); 12 Mar 2014 12:48:44 -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 83805 invoked by uid 500); 12 Mar 2014 12:48:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 83794 invoked by uid 99); 12 Mar 2014 12:48:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 12:48:43 +0000 Date: Wed, 12 Mar 2014 12:48:43 +0000 (UTC) From: "nicolas maillard (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-6628) Use UDFs in create table statement MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 nicolas maillard created HIVE-6628: -------------------------------------- Summary: Use UDFs in create table statement Key: HIVE-6628 URL: https://issues.apache.org/jira/browse/HIVE-6628 Project: Hive Issue Type: New Feature Components: CLI Reporter: nicolas maillard Priority: Trivial It would be nice to be able to use UDFs in a create table statement Say my data is : userid, timestamp utc, list_of_things 123,1386716402,thing1;thing2:thing3 Being able to say create external table mytable( userid int adate string as from_utc_timestamp(tilmestamp,"Europe/Paris") listofthings array as split( list_of_things, ";") )ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' this is like a much lighter serde or a simpler view I guess. It would allow to correct the view of certains fields on the fly without needing to do reproscessing. this is a use case we see happening a lot in our inital data collections -- This message was sent by Atlassian JIRA (v6.2#6252)