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 9595610E9D for ; Wed, 4 Sep 2013 15:17:55 +0000 (UTC) Received: (qmail 69771 invoked by uid 500); 4 Sep 2013 15:17:53 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 69449 invoked by uid 500); 4 Sep 2013 15:17:52 -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 69325 invoked by uid 500); 4 Sep 2013 15:17:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 69321 invoked by uid 99); 4 Sep 2013 15:17:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 15:17:52 +0000 Date: Wed, 4 Sep 2013 15:17:52 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5104) HCatStorer fails to store boolean type 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-5104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757847#comment-13757847 ] Hudson commented on HIVE-5104: ------------------------------ FAILURE: Integrated in Hive-trunk-hadoop2-ptest #83 (See [https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/83/]) HIVE-5104 : HCatStorer fails to store boolean type (Karl D. Gierach via Sushanth Sowmyan) (khorgath: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1519839) * /hive/trunk/hcatalog/hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatBaseStorer.java * /hive/trunk/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/TestHCatStorer.java > HCatStorer fails to store boolean type > -------------------------------------- > > Key: HIVE-5104 > URL: https://issues.apache.org/jira/browse/HIVE-5104 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.11.0 > Reporter: Ron Frohock > Fix For: 0.12.0 > > Attachments: HIVE-5104.1.patch.txt, HIVE-5104.2.patch > > > Unable to store boolean values to HCat table > Assume in Hive you have two tables... > CREATE TABLE btest(test as boolean); > CREATE TABLE btest2(test as boolean); > Then in Pig > A = LOAD 'btest' USING org.apache.hcatalog.pig.HCatLoader(); > STORE A INTO 'btest2' USING org.apache.hcatalog.pig.HCatStorer(); > You will get an "ERROR 115: Unsupported type 5: in Pig's Schema" > Checking HCatBaseStorer.java, the case for data types doesn't check for booleans. Might have been overlooked in adding boolean to Pig in 0.10 -- 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