You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2013/04/10 16:12:16 UTC

[jira] [Created] (HIVE-4330) Pig INTs should work with HCatalog BIGINT fields

Sean Busbey created HIVE-4330:
---------------------------------

             Summary: Pig INTs should work with HCatalog BIGINT fields
                 Key: HIVE-4330
                 URL: https://issues.apache.org/jira/browse/HIVE-4330
             Project: Hive
          Issue Type: Bug
          Components: HCatalog
    Affects Versions: 0.10.0
            Reporter: Sean Busbey
            Priority: Minor


HCatBaseStorer defines a list of target HCatalog column types that a pig INT can successfully get stored in. Right now, that list is HCatalog TinyInt, SmallInt, and Int.

This list should include HCatalog BigInt, because storing a pig INT will be a widening conversion, essentially from a java int to a java long.

This can be worked around right now by casting to a pig LONG.

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