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

Zheng Shao commented on HIVE-259:
---------------------------------

> Is there any limitation on what can be used on the state object or can we use 
> any java Object? 
We support primitive classes, HashMap (translated into map<> type in Hive), 
ArrayList (array type in Hive), and any simple struct-like classes (struct type 
in Hive).
We support arbitrary levels of nesting, but no recursive types.

> Also how is the state serialized between Map and Reduce?
We use SerDe (see SerDe.serialize(...) ) to serialize/deserialize the objects, 
as well as translations between objects that have the same "type" (see 
ObjectInspector and ObjectInspectorConverters).


> Add PERCENTILE aggregate function
> ---------------------------------
>
>                 Key: HIVE-259
>                 URL: https://issues.apache.org/jira/browse/HIVE-259
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Venky Iyer
>            Assignee: Jerome Boulon
>         Attachments: HIVE-259.1.patch, HIVE-259.patch
>
>
> Compute atleast 25, 50, 75th percentiles

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to