Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Return Type

Name(Signature)

Description

OSS

int

size(Map<K.V>)

Returns the number of elements in the map type.


int

size(Array<T>)

Returns the number of elements in the array type.


array<K>

map_keys(Map<K.V>)

Returns an unordered array containing the keys of the input map.


array<V>

map_values(Map<K.V>)

Returns an unordered array containing the values of the input map.


boolean

array_contains(Array<T>, value)

Returns TRUE if the array contains the provided parameter value.


array<t>

sort_array(Array<T>)

Sorts the input array in ascending order according to the natural ordering of the array elements and returns it.


array<t>

array(obj1, obj2, ....  objN)

Status
colourGreen
titleNew
The function returns an array of the same type as the input array with distinct values. Example: array('b', 'd', 'd', 'a') reurtns ['b', 'd', 'a'] 

GenericUDFArrayDistinct.java

array<t>

array_slice(array, start, length)

Status
colourGreen
titleNew
Returns the subset or range of elements. 

GenericUDFArraySlice *

Type Conversion Functions

...