Function datafusion_optimizer::utils::only_or_err
source · Expand description
Returns the first (and only) element in a slice, or an error
Arguments
slice- The slice to extract from
Return value
The first element, or an error
Returns the first (and only) element in a slice, or an error
slice - The slice to extract fromThe first element, or an error