You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hivemall.apache.org by "Makoto Yui (JIRA)" <ji...@apache.org> on 2018/11/13 09:20:00 UTC

[jira] [Closed] (HIVEMALL-223) Add `-kv_map` and `-vk_map` option to to_ordered_list UDAF

     [ https://issues.apache.org/jira/browse/HIVEMALL-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Makoto Yui closed HIVEMALL-223.
-------------------------------
    Resolution: Fixed

> Add `-kv_map` and `-vk_map` option to to_ordered_list UDAF
> ----------------------------------------------------------
>
>                 Key: HIVEMALL-223
>                 URL: https://issues.apache.org/jira/browse/HIVEMALL-223
>             Project: Hivemall
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Makoto Yui
>            Assignee: Makoto Yui
>            Priority: Minor
>             Fix For: 0.5.2
>
>
> to_ordered_list UDAF to_ordered_list(value, key, '-k 100') or to_ordered_list(key, '-k 100') and returns List<key> using top-k values.
> Sometime users want to get Map<key, score> or Map<score, key> for it's return.
> So, this PR support `-kv_map` option that returns Map<K, V> and `-vk_map` option that returns Map<V,K> for the given to_ordered_list(value, key, '-k 100').



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)