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
get_indexed_field in datafusion_expr::field_util - Rust
[go: Go Back, main page]

pub fn get_indexed_field(
    data_type: &DataType,
    key: &ScalarValue
) -> Result<Field>
Expand description

Returns the field access indexed by key from a DataType::List or DataType::Struct

Error

Errors if

  • the data_type is not a Struct or,
  • there is no field key is not of the required index type