[
https://issues.apache.org/jira/browse/HIVE-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772853#action_12772853
]
Paul Yang commented on HIVE-554:
--------------------------------
It seems that the SerDe's use SerDeUtils.buildJSONString() to get the display
string. I could change it there, but then the output would no longer be in
JSON. If there were anything that depended on the JSON format, this change
would break it as well.
Perhaps we should keep it the way it is?
> Add GenericUDF to create arrays, maps, and structs
> --------------------------------------------------
>
> Key: HIVE-554
> URL: https://issues.apache.org/jira/browse/HIVE-554
> Project: Hadoop Hive
> Issue Type: New Feature
> Reporter: Zheng Shao
> Assignee: Paul Yang
> Attachments: HIVE-554.1.patch
>
>
> Here is an example:
> {code}
> SELECT array(1,2,3)[3], map("a":1,"b":2,"c":3)["a"], struct(user_id:3,
> revenue: sum(rev))
> FROM table
> GROUP BY user_id;
> {code}
> This is relatively easy to do with the GenericUDF framework, and will greatly
> increase the flexibility of the language.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.