Macro datafusion_common::unwrap_or_internal_err

source ยท
macro_rules! unwrap_or_internal_err {
    ($Value: ident) => { ... };
}
Expand description

Unwrap an Option if possible. Otherwise return an DataFusionError::Internal. In normal usage of DataFusion the unwrap should always succeed.

Example: let values = unwrap_or_internal_err!(values)