hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5104) HCatStorer fails to store boolean type
Date Wed, 04 Sep 2013 17:44:53 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758021#comment-13758021
] 

Hudson commented on HIVE-5104:
------------------------------

SUCCESS: Integrated in Hive-trunk-h0.21 #2309 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2309/])
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
>            Assignee: Karl D. Gierach
>             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

Mime
View raw message