[
https://issues.apache.org/jira/browse/HIVE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912805#action_12912805
]
HBase Review Board commented on HIVE-1378:
------------------------------------------
Message from: "Zheng Shao" <[email protected]>
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/828/#review1273
-----------------------------------------------------------
trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveQueryResultSet.java
<http://review.cloudera.org/r/828/#comment4326>
While this function works for most cases, there is no guarantee that it
will work for nested map/array/struct, because toString() is not required to be
implemented correctly for Objects in hive.
The preferred way would be to use
ObjectInspectorUtils/ObjectInspectorConvertors to copy/convert <Object,
ObjectInspector> to "Standard Object", and then convert to JDBC objects.
trunk/serde/src/java/org/apache/hadoop/hive/serde2/DelimitedJSONSerDe.java
<http://review.cloudera.org/r/828/#comment4325>
Can we change the name to serializeField (here and in LazySimpleSerDe)?
- Zheng
> Return value for map, array, and struct needs to return a string
> -----------------------------------------------------------------
>
> Key: HIVE-1378
> URL: https://issues.apache.org/jira/browse/HIVE-1378
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: Drivers
> Reporter: Jerome Boulon
> Assignee: Steven Wong
> Fix For: 0.7.0
>
> Attachments: HIVE-1378.1.patch, HIVE-1378.2.patch, HIVE-1378.patch
>
>
> In order to be able to select/display any data from JDBC Hive driver, return
> value for map, array, and struct needs to return a string
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.