[ 
https://issues.apache.org/jira/browse/HCATALOG-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis Crawford updated HCATALOG-425:
-------------------------------------

    Attachment: HCATALOG-425_small_tiny_int.1.patch

This patch adds support for reading/writing smallint/tinyint columns with Pig.

With reads, we simply convert smallint/tinyint columns to integer, which Pig is 
fine with.

For writes, we bounds check the values at write time to ensure they fit in the 
column. Values outside the column bounds throw a runtime exception.
                
> Pig cannot read/write SMALLINT/TINYINT columns
> ----------------------------------------------
>
>                 Key: HCATALOG-425
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-425
>             Project: HCatalog
>          Issue Type: Bug
>          Components: pig
>    Affects Versions: 0.4
>            Reporter: Thejas M Nair
>            Assignee: Travis Crawford
>         Attachments: HCATALOG-425_small_tiny_int.1.patch
>
>
> Currently throw exception. We can always allow read and on write side, we can 
> do out of boundary check at runtime.
> This issue described in  HCATALOG-168, has not been fixed. It still throws an 
> exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to