Details
Description
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