[
https://issues.apache.org/jira/browse/HCATALOG-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470526#comment-13470526
]
Feng Peng commented on HCATALOG-523:
------------------------------------
Thanks [~traviscrawford]. I rebased the patch and modified the
transformToPigXXX methods to private. I agree that they should be private
unless future usage needs them otherwise.
> PigHCatUtil should not assume map key type can be casted to String
> ------------------------------------------------------------------
>
> Key: HCATALOG-523
> URL: https://issues.apache.org/jira/browse/HCATALOG-523
> Project: HCatalog
> Issue Type: Bug
> Affects Versions: 0.4, 0.5
> Reporter: Feng Peng
> Assignee: Feng Peng
> Attachments: HCATALOG-523.1.patch, HCATALOG-523.patch
>
>
> HCatalog in general allows any primitive types to be the key of the map. In
> PigHCatUtil, it assumes the key of the map can be casted to String, which
> breaks the conversion to Pig tuple when the underlying data has other
> primitive types (such as integers) as the map key.
--
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