hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3323) enum to string conversions
Date Fri, 18 Oct 2013 01:40:43 GMT

    [ https://issues.apache.org/jira/browse/HIVE-3323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798708#comment-13798708
] 

Jie Li commented on HIVE-3323:
------------------------------

Hi, we used to use the struct<value:int> representation in Hive 0.8 and got hit by this
incompatible change after upgrading. Any reason not providing a configuration for this change?
I guess it might break some other users.

> enum to string conversions
> --------------------------
>
>                 Key: HIVE-3323
>                 URL: https://issues.apache.org/jira/browse/HIVE-3323
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.10.0
>            Reporter: Travis Crawford
>            Assignee: Travis Crawford
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3323_enum_to_string.1.patch, HIVE-3323_enum_to_string.2.patch,
HIVE-3323_enum_to_string.3.patch, HIVE-3323_enum_to_string.4.patch, HIVE-3323_enum_to_string.5.patch,
HIVE-3323_enum_to_string.6.patch, HIVE-3323_enum_to_string.8.patch
>
>
> When using serde-reported schemas with the ThriftDeserializer, Enum fields are presented
as {{struct<value:int>}}
> Many users expect to work with the string values, which is both easier and more meaningful
as the string value communicates what is represented.
> Hive should provide a mechanism to optionally convert enum values to strings.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message