Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Add a dedicated expression
ArrayBinarySearch(array, value)
for binary search, the behavior should be the same as `java.util.Arrays.binarySearch`, so that we can use it to implement histogram plot in the client side (no longer need to depend on mllib's Bucketizer)
This expression is for internal purposes, should not be exposed to end users.
It assume the array is already sorted.
if array or value is null, returns null.
Attachments
Issue Links
- links to