You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Suraj Nayak <sn...@gmail.com> on 2015/05/09 18:00:01 UTC

HCatStorer throws error while storing Pig int into HCat bigint column

Hi Hive/Pig Developers,

I had a question regarding storing integer data type of pig into bigint
data type column in HCat table.

When I try to run a pig script which stores int data into the bigint column
of hive it throws below error:

ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1115: Unsupported type: 10
in Pig's schema

Is there a reason why auto handling of this is not done? As all integers
fit into bigint data type.

Let me know if this auto handling is good to have and do not harm any other
implementation in hive or pig. I can create a JIRA and contribute a patch
for this.

-- 
Thanks
Suraj Nayak M