[
https://issues.apache.org/jira/browse/HCATALOG-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436370#comment-13436370
]
Sushanth Sowmyan commented on HCATALOG-425:
-------------------------------------------
On a general note, btw, for this patch, I would have much rather not touched
HCatRecordSerDe at all, leaving the promotion semantics entirely inside
HCatLoader and having the HCatRecord exactly match the datatypes of the given
HCatSchema at all times. Since that was behind a config-guard that defaults to
false anyway, that shouldn't matter outside of pig, so I'm still a +1 on this,
but I'm a little nervous about having HCatRecord and HCatSchema out of synch.
Is there a strong reason for not doing this conversion in the tuple conversion?
> 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
> Fix For: 0.5
>
> Attachments: HCATALOG-425_small_tiny_int.1.patch,
> HCATALOG-425_small_tiny_int.2.patch, HCATALOG-425_small_tiny_int.3.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