pub fn array_element(args: &[ArrayRef]) -> Result<ArrayRef>
Expand description

array_element SQL function

There are two arguments for array_element, the first one is the array, the second one is the 1-indexed index. array_element(array, index)

For example:

array_element([1, 2, 3], 2) -> 2