pub fn try_value_from_array(array: &dyn Array, index: usize) -> Result<Value>Expand description
Converts the value at index of an arrow array into a Value.
Unlike the unchecked conversion in crate::vectors::StructVector’s get,
this propagates conversion errors (for example arrow types greptimedb
cannot represent, such as Decimal256) instead of panicking, so callers
can surface a proper error to the user.