Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6.0
-
None
Description
In data processing process, we usually encounter the problem that we have some selection and their probably(or weight), we should select one of them according to their probably(or weight).
UDF map_roulette() is a implement of roulette. It can select a Key from a map according to key's weight value.