[jira] [Commented] (HIVE-3323) enum to string conversions

2013-10-17 Thread Jie Li (JIRA)

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

Jie Li commented on HIVE-3323:
--

Hi, we used to use the structvalue: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 {{structvalue: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)


[jira] [Commented] (HIVE-3323) enum to string conversions

2013-10-17 Thread Jie Li (JIRA)

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

Jie Li commented on HIVE-3323:
--

From the discussion I can see the proposal of 
hive.data.convert.enum.to.string but it was not in the final patch.

 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 {{structvalue: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)


[jira] [Commented] (HIVE-3323) enum to string conversions

2013-01-09 Thread Hudson (JIRA)

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

Hudson commented on HIVE-3323:
--

Integrated in Hive-trunk-hadoop2 #54 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-3323 : enum to string conversions (Travis Crawford via Ashutosh 
Chauhan) (Revision 1382211)

 Result = ABORTED
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1382211
Files : 
* /hive/trunk/ql/src/test/queries/clientpositive/convert_enum_to_string.q
* /hive/trunk/ql/src/test/results/clientpositive/convert_enum_to_string.q.out
* /hive/trunk/serde/if/test/megastruct.thrift
* 
/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
* 
/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
* 
/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
* 
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorFactory.java
* 
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/JavaStringObjectInspector.java


 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 {{structvalue: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 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


[jira] [Commented] (HIVE-3323) enum to string conversions

2012-09-08 Thread Hudson (JIRA)

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

Hudson commented on HIVE-3323:
--

Integrated in Hive-trunk-h0.21 #1656 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1656/])
HIVE-3323 : enum to string conversions (Travis Crawford via Ashutosh 
Chauhan) (Revision 1382211)

 Result = FAILURE
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1382211
Files : 
* /hive/trunk/ql/src/test/queries/clientpositive/convert_enum_to_string.q
* /hive/trunk/ql/src/test/results/clientpositive/convert_enum_to_string.q.out
* /hive/trunk/serde/if/test/megastruct.thrift
* 
/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
* 
/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
* 
/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
* 
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorFactory.java
* 
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/JavaStringObjectInspector.java


 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 {{structvalue: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 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