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 21442105EB for ; Fri, 31 Jan 2014 20:12:15 +0000 (UTC) Received: (qmail 40383 invoked by uid 500); 31 Jan 2014 20:12:10 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40335 invoked by uid 500); 31 Jan 2014 20:12:09 -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 40324 invoked by uid 500); 31 Jan 2014 20:12:09 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40319 invoked by uid 99); 31 Jan 2014 20:12:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jan 2014 20:12:09 +0000 Date: Fri, 31 Jan 2014 20:12:09 +0000 (UTC) From: "Eugene Koifman (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5814) Add DATE, TIMESTAMP, DECIMAL, CHAR, VARCHAR types support in HCat 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-5814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888102#comment-13888102 ] Eugene Koifman commented on HIVE-5814: -------------------------------------- HIVE-5814.4.patch adds ability for user to specify what happens if Pig value is out of range for target column in Hive. Here is an example: store data into 'test_tbl' using org.apache.hive.hcatalog.pig.HCatStorer('','','-onOutOfRangeValue Throw'); Valid values are Throw and Null (default). > Add DATE, TIMESTAMP, DECIMAL, CHAR, VARCHAR types support in HCat > ----------------------------------------------------------------- > > Key: HIVE-5814 > URL: https://issues.apache.org/jira/browse/HIVE-5814 > Project: Hive > Issue Type: New Feature > Components: HCatalog > Affects Versions: 0.12.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Attachments: HCat-Pig Type Mapping Hive 0.13.pdf, HIVE-5814.2.patch, HIVE-5814.3.patch, HIVE-5814.4.patch > > > Hive 0.12 added support for new data types. Pig 0.12 added some as well. HCat should handle these as well. Also note that CHAR was added recently. -- This message was sent by Atlassian JIRA (v6.1.5#6160)