Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.5.0
-
None
Description
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').
Attachments
Issue Links
- links to