Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
array_element in datafusion::physical_expr::array_expressions - Rust
[go: Go Back, main page]

pub fn array_element(
    args: &[Arc<dyn Array>]
) -> Result<Arc<dyn Array>, DataFusionError>
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